Class Role


  • public class Role
    extends Object
    A Role to be configured for a Chef Solo run.
    • Constructor Detail

      • Role

        protected Role​(String name,
                       com.google.common.base.Optional<String> description,
                       com.google.common.base.Optional<String> jsonDefaultAttributes,
                       com.google.common.base.Optional<String> jsonOverrideAttributes,
                       com.google.common.base.Optional<RunList> runlist)
    • Method Detail

      • toJsonString

        public String toJsonString()
      • getName

        public String getName()
      • getDescription

        public com.google.common.base.Optional<String> getDescription()
      • getJsonDefaultAttributes

        public com.google.common.base.Optional<String> getJsonDefaultAttributes()
      • getJsonOverrideAttributes

        public com.google.common.base.Optional<String> getJsonOverrideAttributes()
      • getRunlist

        public RunList getRunlist()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object