public class WorkflowDelegate
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowDelegate.ProcessDelegate
Process delegate class that is used to configure
Process instances for the FetchWorkflow and PublishWorkflow of the Workflow . |
Modifier and Type | Field and Description |
---|---|
org.savantbuild.output.Output |
output |
org.savantbuild.dep.workflow.Workflow |
workflow |
Constructor and Description |
---|
WorkflowDelegate(org.savantbuild.output.Output output,
org.savantbuild.dep.workflow.Workflow workflow) |
Modifier and Type | Method and Description |
---|---|
void |
fetch(groovy.lang.Closure closure)
Configures the fetch workflow processes.
|
void |
publish(groovy.lang.Closure closure)
Configures the publish workflow processes.
|
void |
standard()
Configures the standard project workflow as follows:
|
public final org.savantbuild.output.Output output
public final org.savantbuild.dep.workflow.Workflow workflow
public WorkflowDelegate(org.savantbuild.output.Output output, org.savantbuild.dep.workflow.Workflow workflow)
public void fetch(@DelegatesTo(value=WorkflowDelegate.ProcessDelegate.class) groovy.lang.Closure closure)
closure
- The closure. This closure uses the delegate class WorkflowDelegate.ProcessDelegate
.public void publish(@DelegatesTo(value=WorkflowDelegate.ProcessDelegate.class) groovy.lang.Closure closure)
closure
- The closure. This closure uses the delegate class WorkflowDelegate.ProcessDelegate
.public void standard()
Configures the standard project workflow as follows:
fetch { cache() url(url: "http://savant.inversoft.org/repository") } publish { cache() }