public class SortTask extends BaseJpfTask
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODE_BUILD
Put plug-in's
build.xml file into output path. |
static java.lang.String |
MODE_DIR
Put plug-in directory into output path.
|
static java.lang.String |
MODE_MANIFEST
Put original plug-in manifest file into output path.
|
| Constructor and Description |
|---|
SortTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected java.io.File |
getResultFile(java.net.URL manifestUrl) |
protected void |
reorder(java.util.List<PluginDescriptor> descriptors) |
void |
setPathId(java.lang.String value) |
void |
setPathIdRef(java.lang.String value) |
void |
setPathMode(java.lang.String value) |
void |
setReverse(boolean value) |
addFileset, getBlackList, getIncludedFiles, getManifestURL, getPathResolver, getRegistry, getVerbose, getWhiteList, initRegistry, isManifestAccepted, loadList, setBaseDir, setBlackList, setVerbose, setWhiteListadd, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic static final java.lang.String MODE_DIR
public static final java.lang.String MODE_BUILD
build.xml file into output path.public static final java.lang.String MODE_MANIFEST
public void setPathId(java.lang.String value)
value - the path ID to setpublic void setPathIdRef(java.lang.String value)
value - the path ID reference to setpublic void setPathMode(java.lang.String value)
value - the output path mode to set (DIR, BUILD, MANIFEST)public void setReverse(boolean value)
value - sets the reverse sort orderpublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionTask.execute()protected java.io.File getResultFile(java.net.URL manifestUrl)
manifestUrl - plug-in or plug-in fragment manifest URLprotected void reorder(java.util.List<PluginDescriptor> descriptors)
Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.