Search in sources :

Example 1 with AbstractWorkflow

use of io.cdap.cdap.api.workflow.AbstractWorkflow in project cdap by caskdata.

the class AppWithAnonymousWorkflow method configure.

@Override
public void configure() {
    setName("AppWithAnonymousWorkflow");
    setDescription("Application with anonymous Workflow.");
    addWorkflow(new AbstractWorkflow() {

        @Override
        protected void configure() {
        // no name for the workflow set here. this should fail
        }
    });
}
Also used : AbstractWorkflow(io.cdap.cdap.api.workflow.AbstractWorkflow)

Aggregations

AbstractWorkflow (io.cdap.cdap.api.workflow.AbstractWorkflow)1