Class IvyReport

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ivy.ant.IvyTask
org.apache.ivy.ant.IvyReport
All Implemented Interfaces:
Cloneable

public class IvyReport extends IvyTask
This ant task let users generates reports (html, xml, graphml, ...) from the last resolve done.
  • Field Details

    • todir

      private File todir
    • organisation

      private String organisation
    • module

      private String module
    • conf

      private String conf
    • graph

      private boolean graph
    • dot

      private boolean dot
    • xml

      private boolean xml
    • xsl

      private boolean xsl
    • xslFile

      private File xslFile
    • outputpattern

      private String outputpattern
    • xslext

      private String xslext
    • params

      private final List<org.apache.tools.ant.taskdefs.XSLTProcess.Param> params
    • resolveId

      private String resolveId
    • mRevId

      private ModuleRevisionId mRevId
  • Constructor Details

    • IvyReport

      public IvyReport()
  • Method Details

    • getTodir

      public File getTodir()
    • setTodir

      public void setTodir(File todir)
    • setCache

      public void setCache(File cache)
    • getConf

      public String getConf()
    • setConf

      public void setConf(String conf)
    • getModule

      public String getModule()
    • setModule

      public void setModule(String module)
    • getOrganisation

      public String getOrganisation()
    • setOrganisation

      public void setOrganisation(String organisation)
    • isGraph

      public boolean isGraph()
    • setGraph

      public void setGraph(boolean graph)
    • getXslfile

      public File getXslfile()
    • setXslfile

      public void setXslfile(File xslFile)
    • getOutputpattern

      public String getOutputpattern()
    • setOutputpattern

      public void setOutputpattern(String outputpattern)
    • getResolveId

      public String getResolveId()
    • setResolveId

      public void setResolveId(String resolveId)
    • doExecute

      public void doExecute() throws org.apache.tools.ant.BuildException
      Description copied from class: IvyTask
      The real logic of task execution after project has been set in the context. MUST be implemented by subclasses
      Specified by:
      doExecute in class IvyTask
      Throws:
      org.apache.tools.ant.BuildException - if something goes wrong
    • genxml

      private void genxml(String[] confs) throws IOException
      Throws:
      IOException
    • genreport

      private void genreport(String[] confs) throws IOException
      Throws:
      IOException
    • getReportStylePath

      private File getReportStylePath() throws IOException
      Throws:
      IOException
    • getOutputPattern

      private String getOutputPattern(String conf, String ext)
    • genStyled

      private void genStyled(String[] confs, File style, String ext) throws IOException
      Throws:
      IOException
    • getStylePath

      private File getStylePath(String styleResourceName) throws IOException
      Throws:
      IOException
    • isXml

      public boolean isXml()
    • setXml

      public void setXml(boolean xml)
    • isXsl

      public boolean isXsl()
    • setXsl

      public void setXsl(boolean xsl)
    • getXslext

      public String getXslext()
    • setXslext

      public void setXslext(String xslext)
    • createParam

      public org.apache.tools.ant.taskdefs.XSLTProcess.Param createParam()
    • isDot

      public boolean isDot()
    • setDot

      public void setDot(boolean dot)