Package org.codehaus.mojo.buildhelper
Class UpToDatePropertySetting
- java.lang.Object
-
- org.codehaus.mojo.buildhelper.UpToDatePropertySetting
-
public final class UpToDatePropertySetting extends java.lang.ObjectHolds settings forAbstractUpToDatePropertysubclasses.- Since:
- 1.12
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringelseValueThe property value to set if the up-to-date condition is not fulfilled.private org.apache.maven.shared.model.fileset.FileSetfileSetA set of source files.private java.lang.StringnameThe name of the property to set.private java.lang.StringvalueThe property value to set if the up-to-date condition is fulfilled.
-
Constructor Summary
Constructors Constructor Description UpToDatePropertySetting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetElse()org.apache.maven.shared.model.fileset.FileSetgetFileSet()java.lang.StringgetName()java.lang.StringgetValue()voidsetElse(java.lang.String elseValue)voidsetFileSet(org.apache.maven.shared.model.fileset.FileSet fileSet)voidsetName(java.lang.String name)voidsetValue(java.lang.String value)(package private) voidvalidate()
-
-
-
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.
-
-
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()
-
-