Class FeatureBuilder

java.lang.Object
net.anotheria.anosite.gen.asfeature.data.FeatureBuilder
All Implemented Interfaces:
net.anotheria.asg.data.Builder<Feature>

public class FeatureBuilder extends Object implements net.anotheria.asg.data.Builder<Feature>
  • Field Details

    • name

      protected String name
    • enabled

      protected boolean enabled
    • activeInProduction

      protected boolean activeInProduction
    • obsolete

      protected boolean obsolete
    • description

      protected String description
    • guards

      protected List<String> guards
    • accessOperation

      protected String accessOperation
  • Constructor Details

    • FeatureBuilder

      public FeatureBuilder()
  • Method Details

    • name

      public FeatureBuilder name(String aValue)
      Sets the value of the name attribute.
    • enabled

      public FeatureBuilder enabled(boolean aValue)
      Sets the value of the enabled attribute.
    • activeInProduction

      public FeatureBuilder activeInProduction(boolean aValue)
      Sets the value of the activeInProduction attribute.
    • obsolete

      public FeatureBuilder obsolete(boolean aValue)
      Sets the value of the obsolete attribute.
    • description

      public FeatureBuilder description(String aValue)
      Sets the value of the description attribute.
    • guards

      public FeatureBuilder guards(List<String> aValue)
      Sets the value of the guards attribute.
    • accessOperation

      public FeatureBuilder accessOperation(String aValue)
      Sets the value of the accessOperation attribute.
    • build

      public Feature build()
      Specified by:
      build in interface net.anotheria.asg.data.Builder<Feature>