Class UpToDatePropertySetting


  • public final class UpToDatePropertySetting
    extends java.lang.Object
    Holds settings for AbstractUpToDateProperty subclasses.
    Since:
    1.12
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String elseValue
      The property value to set if the up-to-date condition is not fulfilled.
      private org.apache.maven.shared.model.fileset.FileSet fileSet
      A set of source files.
      private java.lang.String name
      The name of the property to set.
      private java.lang.String value
      The property value to set if the up-to-date condition is fulfilled.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getElse()  
      org.apache.maven.shared.model.fileset.FileSet getFileSet()  
      java.lang.String getName()  
      java.lang.String getValue()  
      void setElse​(java.lang.String elseValue)  
      void setFileSet​(org.apache.maven.shared.model.fileset.FileSet fileSet)  
      void setName​(java.lang.String name)  
      void setValue​(java.lang.String value)  
      (package private) void validate()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fileSet

        @Parameter
        private org.apache.maven.shared.model.fileset.FileSet fileSet
        A set of source files.
      • name

        @Parameter(required=true)
        private java.lang.String name
        The name of the property to set.
      • value

        @Parameter(defaultValue="true")
        private java.lang.String value
        The property value to set if the up-to-date condition is fulfilled.
      • elseValue

        @Parameter(alias="else")
        private java.lang.String elseValue
        The property value to set if the up-to-date condition is not fulfilled.
    • Constructor Detail

      • UpToDatePropertySetting

        public UpToDatePropertySetting()
    • Method Detail

      • getName

        public java.lang.String getName()
      • getFileSet

        public org.apache.maven.shared.model.fileset.FileSet getFileSet()
      • getValue

        public java.lang.String getValue()
      • setFileSet

        public void setFileSet​(org.apache.maven.shared.model.fileset.FileSet fileSet)
      • setName

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

        public void setValue​(java.lang.String value)
      • getElse

        public java.lang.String getElse()
      • setElse

        public void setElse​(java.lang.String elseValue)
      • validate

        void validate()