Class PolicyManage

  • All Implemented Interfaces:
    java.io.Serializable

    public class PolicyManage
    extends java.lang.Object
    implements java.io.Serializable
    This represents a policy to manage a provisioned node if matched a node will be added updated or deleted using the element attribute definitions .
    See Also:
    Serialized Form
    • Constructor Detail

      • PolicyManage

        public PolicyManage()
    • Method Detail

      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getDelay

        public java.util.Optional<java.lang.Long> getDelay()
      • setDelay

        public void setDelay​(java.lang.Long delay)
      • getRetries

        public java.util.Optional<java.lang.Integer> getRetries()
      • setRetries

        public void setRetries​(java.lang.Integer retries)
      • getUseCategories

        public java.util.Optional<java.lang.Boolean> getUseCategories()
      • setUseCategories

        public void setUseCategories​(java.lang.Boolean useCategories)
      • getDefaultType

        public java.util.Optional<java.lang.String> getDefaultType()
      • setDefaultType

        public void setDefaultType​(java.lang.String defaultType)
      • getPackage

        public Package getPackage()
      • setPackage

        public void setPackage​(Package p)
      • getSchedules

        public java.util.List<Schedule> getSchedules()
      • setSchedules

        public void setSchedules​(java.util.List<Schedule> schedules)
      • addSchedule

        public void addSchedule​(Schedule schedule)
      • removeSchedule

        public boolean removeSchedule​(Schedule schedule)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object