Package org.savantbuild.parser.groovy
Class WorkflowDelegate.ProcessDelegate
java.lang.Object
org.savantbuild.parser.groovy.WorkflowDelegate.ProcessDelegate
- Enclosing class:
- WorkflowDelegate
Process delegate class that is used to configure
Process instances for the FetchWorkflow and
PublishWorkflow of the Workflow.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProcessDelegate(org.savantbuild.output.Output output, List<org.savantbuild.dep.workflow.process.Process> processes) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds aCacheProcessto the workflow that uses the given attributes.voidAdds aMavenProcessto the workflow that uses the given attributes.voidmavenCache(Map<String, Object> attributes) Adds aCacheProcessto the workflow that handles Maven-sourced artifacts (mavenDir set, savantDir null).voidsubversion(Map<String, Object> attributes) Adds aSVNProcessto the workflow that uses the given attributes.voidAdds aURLProcessto the workflow that uses the given attributes.
-
Field Details
-
output
public final org.savantbuild.output.Output output -
processes
-
-
Constructor Details
-
ProcessDelegate
public ProcessDelegate(org.savantbuild.output.Output output, List<org.savantbuild.dep.workflow.process.Process> processes)
-
-
Method Details
-
cache
Adds aCacheProcessto the workflow that uses the given attributes. Creates a Savant-only cache (savantDir set, mavenDir null).- Parameters:
attributes- The attributes.
-
maven
Adds aMavenProcessto the workflow that uses the given attributes.- Parameters:
attributes- Optionally a map that contains a URL attribute.
-
mavenCache
Adds aCacheProcessto the workflow that handles Maven-sourced artifacts (mavenDir set, savantDir null).- Parameters:
attributes- Optionally a map that contains a dir attribute.
-
subversion
Adds aSVNProcessto the workflow that uses the given attributes.- Parameters:
attributes- The SVN attributes.
-
url
Adds aURLProcessto the workflow that uses the given attributes.- Parameters:
attributes- The URL attributes.
-