Class TemplateBuilderSpec

    • Field Detail

      • KEYS_SPLITTER

        protected static final com.google.common.base.Splitter KEYS_SPLITTER
        Splits each key-value pair.
      • KEY_VALUE_SPLITTER

        protected static final com.google.common.base.Splitter KEY_VALUE_SPLITTER
        Splits the key from the value.
      • specification

        protected transient String specification
        Specification; used for toParseableString().
    • Constructor Detail

      • TemplateBuilderSpec

        protected TemplateBuilderSpec()
      • TemplateBuilderSpec

        protected TemplateBuilderSpec​(String specification)
    • Method Detail

      • parse

        public static TemplateBuilderSpec parse​(String templateBuilderSpecification)
        Creates a TemplateBuilderSpec from a string.
        Parameters:
        templateBuilderSpecification - the string form
      • toParsableString

        public String toParsableString()
        Returns a string that can be used to parse an equivalent TemplateBuilderSpec. The order and form of this representation is not guaranteed, except that reparsing its output will produce a TemplateBuilderSpec equal to this instance.
      • toString

        public String toString()
        Returns a string representation for this TemplateBuilderSpec instance. The form of this representation is not guaranteed.
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getHardwareId

        public String getHardwareId()
      • getMinCores

        public Double getMinCores()
      • getMinRam

        public Integer getMinRam()
      • getHypervisorMatches

        public String getHypervisorMatches()
      • getImageId

        public String getImageId()
      • getImageNameMatches

        public String getImageNameMatches()
      • getOsFamily

        public OsFamily getOsFamily()
      • getOsVersionMatches

        public String getOsVersionMatches()
      • getOs64Bit

        public Boolean getOs64Bit()
      • getOsArchMatches

        public String getOsArchMatches()
      • getOsDescriptionMatches

        public String getOsDescriptionMatches()
      • getLoginUser

        public String getLoginUser()
      • getAuthenticateSudo

        public Boolean getAuthenticateSudo()
      • getLocationId

        public String getLocationId()
      • getSpecification

        public String getSpecification()
      • getForceCacheReload

        public Boolean getForceCacheReload()