Skip to content

Instantly share code, notes, and snippets.

@nattaphonjeamjit
Last active April 8, 2018 17:41
Show Gist options
  • Save nattaphonjeamjit/aa6452e3db2880c52ab91bfaf155eb39 to your computer and use it in GitHub Desktop.
Save nattaphonjeamjit/aa6452e3db2880c52ab91bfaf155eb39 to your computer and use it in GitHub Desktop.
@Service
public class PromotionService {
@FeatureSwitch(value = FeatureEnum.PROMOTION_MANAGEMENT_FEATURE)
public void performPromotion() {
System.out.println("Perform Promotion.")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment