Package org.apache.ivy.ant
Class IvyRepositoryReport
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ivy.ant.IvyTask
org.apache.ivy.ant.IvyRepositoryReport
- All Implemented Interfaces:
Cloneable
Generates a report of dependencies of a set of modules in the repository. The set of modules is
specified using organisation/module and matcher.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private boolean
private boolean
private String
private String
private String
private String
private final List<org.apache.tools.ant.taskdefs.XSLTProcess.Param>
private String
private File
private boolean
private boolean
private String
private String
Fields inherited from class org.apache.ivy.ant.IvyTask
ANT_PROJECT_CONTEXT_KEY
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.tools.ant.taskdefs.XSLTProcess.Param
void
The real logic of task execution after project has been set in the context.private void
private void
gendot
(ResolutionCacheManager cache, String organisation, String module) private void
gengraph
(ResolutionCacheManager cache, String organisation, String module) private void
genreport
(ResolutionCacheManager cache, String organisation, String module) private String
getDotStylePath
(File cache) private String
getGraphStylePath
(File cache) getTodir()
boolean
isDot()
boolean
isGraph()
boolean
isXml()
boolean
isXsl()
void
void
void
setDot
(boolean dot) void
setGraph
(boolean graph) void
setMatcher
(String matcher) void
void
setOrganisation
(String organisation) void
setOutputname
(String outputpattern) void
setRevision
(String revision) void
void
setXml
(boolean xml) void
setXsl
(boolean xsl) void
void
setXslfile
(String xslFile) Methods inherited from class org.apache.ivy.ant.IvyTask
cacheAttributeNotSupported, doValidate, execute, finalizeTask, getIvyInstance, getProperty, getProperty, getProperty, getProperty, getPubDate, getResolvedConfigurations, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedReport, getSettings, getSettingsRef, isValidate, mergeConfs, prepareTask, setResolved, setResolved, setSettingsRef, setValidate, splitConfs, toString
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
organisation
-
module
-
branch
-
revision
-
matcher
-
todir
-
graph
private boolean graph -
dot
private boolean dot -
xml
private boolean xml -
xsl
private boolean xsl -
xslFile
-
outputname
-
xslext
-
params
-
-
Constructor Details
-
IvyRepositoryReport
public IvyRepositoryReport()
-
-
Method Details
-
doExecute
public void doExecute() throws org.apache.tools.ant.BuildExceptionDescription copied from class:IvyTask
The real logic of task execution after project has been set in the context. MUST be implemented by subclasses -
genreport
-
gengraph
private void gengraph(ResolutionCacheManager cache, String organisation, String module) throws IOException - Throws:
IOException
-
getGraphStylePath
- Throws:
IOException
-
gendot
private void gendot(ResolutionCacheManager cache, String organisation, String module) throws IOException - Throws:
IOException
-
getDotStylePath
- Throws:
IOException
-
gen
private void gen(ResolutionCacheManager cache, String organisation, String module, String style, String ext) -
getTodir
-
setTodir
-
isGraph
public boolean isGraph() -
setGraph
public void setGraph(boolean graph) -
getXslfile
-
setXslfile
-
isXml
public boolean isXml() -
setXml
public void setXml(boolean xml) -
isXsl
public boolean isXsl() -
setXsl
public void setXsl(boolean xsl) -
getXslext
-
setXslext
-
createParam
public org.apache.tools.ant.taskdefs.XSLTProcess.Param createParam() -
getOutputname
-
setOutputname
-
setCache
-
getMatcher
-
setMatcher
-
getModule
-
setModule
-
getOrganisation
-
setOrganisation
-
getRevision
-
setRevision
-
getBranch
-
setBranch
-
isDot
public boolean isDot() -
setDot
public void setDot(boolean dot)
-