Class FeatureBuilder

  • All Implemented Interfaces:
    net.anotheria.asg.data.Builder<Feature>

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

      • name

        protected java.lang.String name
      • enabled

        protected boolean enabled
      • activeInProduction

        protected boolean activeInProduction
      • obsolete

        protected boolean obsolete
      • description

        protected java.lang.String description
      • guards

        protected java.util.List<java.lang.String> guards
      • accessOperation

        protected java.lang.String accessOperation
    • Constructor Detail

      • FeatureBuilder

        public FeatureBuilder()
    • Method Detail

      • name

        public FeatureBuilder name​(java.lang.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​(java.lang.String aValue)
        Sets the value of the description attribute.
      • guards

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

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

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