|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.model.PatternSet
org.apache.maven.model.FileSet
org.apache.maven.model.Resource
public class Resource
This element describes all of the classpath resources associated with a project or unit tests.
| Constructor Summary | |
|---|---|
Resource()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getModelEncoding()
|
java.lang.String |
getTargetPath()
Get Describe the resource target path. |
boolean |
isFiltering()
Get Whether resources are filtered to replace tokens with parameterised values or not. |
void |
setFiltering(boolean filtering)
Set Whether resources are filtered to replace tokens with parameterised values or not. |
void |
setModelEncoding(java.lang.String modelEncoding)
|
void |
setTargetPath(java.lang.String targetPath)
Set Describe the resource target path. |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.maven.model.FileSet |
|---|
getDirectory, setDirectory |
| Methods inherited from class org.apache.maven.model.PatternSet |
|---|
addExclude, addInclude, getExcludes, getIncludes, removeExclude, removeInclude, setExcludes, setIncludes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Resource()
| Method Detail |
|---|
public java.lang.String getTargetPath()
${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 boolean isFiltering()
properties element and from the
properties in the files listed in the
filters element.
public void setFiltering(boolean filtering)
properties element and from the
properties in the files listed in the
filters element.
filtering - public void setTargetPath(java.lang.String targetPath)
${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 java.lang.String toString()
toString in class FileSetObject.toString()public void setModelEncoding(java.lang.String modelEncoding)
setModelEncoding in class FileSetpublic java.lang.String getModelEncoding()
getModelEncoding in class FileSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||