public class Resource extends FileSetimplements Serializable , Cloneable
| Constructor and Description |
|---|
Resource()
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
clone()
Method clone.
|
String |
getFiltering()
Get whether resources are filtered to replace tokens with parameterised values or not.
|
String |
getMergeId()
Get fOR INTERNAL USE ONLY.
|
String |
getTargetPath()
Get describe the resource target path.
|
void |
initMergeId()
|
boolean |
isFiltering()
|
void |
setFiltering(boolean filtering)
|
void |
setFiltering(String
Set whether resources are filtered to replace tokens with parameterised values or not.
|
void |
setMergeId(String
Set fOR INTERNAL USE ONLY.
|
void |
setTargetPath(String
Set describe the resource target path.
|
String |
toString()
|
getDirectory, setDirectoryaddExclude, addInclude, getExcludes, getIncludes, getLocation, removeExclude, removeInclude, setExcludes, setIncludes, setLocationpublic StringgetFiltering()
properties element and from the properties in the files listed in the
filters element. Note: While the type of this field is
String for technical reasons, the semantic type is actually
Boolean. Default value is
false.
public StringgetMergeId()
public StringgetTargetPath()
${project.build.outputDirectory}). For example, if you want that resource to appear in a specific package (
org.apache.maven.messages), you must specify this element with this value:
org/apache/maven/messages. This is not required if you simply put the resources in that directory structure at the source, however.
public void setFiltering(Stringfiltering)
properties element and from the properties in the files listed in the
filters element. Note: While the type of this field is
String for technical reasons, the semantic type is actually
Boolean. Default value is
false.
filtering -
public void setMergeId(StringmergeId)
mergeId -
public void setTargetPath(StringtargetPath)
${project.build.outputDirectory}). For example, if you want that resource to appear in a specific package (
org.apache.maven.messages), you must specify this element with this value:
org/apache/maven/messages. This is not required if you simply put the resources in that directory structure at the source, however.
targetPath -
public void initMergeId()
public boolean isFiltering()
public void setFiltering(boolean filtering)
public StringtoString()
toString in class
FileSet
Object.toString()