Search in sources :

Example 1 with RunUrlStatement

use of org.apache.whirr.service.jclouds.RunUrlStatement in project whirr by apache.

the class ClusterActionHandlerSupport method addRunUrl.

/**
 * A convenience method for adding a {@link RunUrlStatement} to a
 * {@link ClusterActionEvent}.
 */
public static void addRunUrl(ClusterActionEvent event, String runUrl, String... args) throws IOException {
    Statement statement = new RunUrlStatement(event.getClusterSpec().getRunUrlBase(), runUrl, args);
    addStatement(event, statement);
}
Also used : RunUrlStatement(org.apache.whirr.service.jclouds.RunUrlStatement) Statement(org.jclouds.scriptbuilder.domain.Statement) RunUrlStatement(org.apache.whirr.service.jclouds.RunUrlStatement)

Aggregations

RunUrlStatement (org.apache.whirr.service.jclouds.RunUrlStatement)1 Statement (org.jclouds.scriptbuilder.domain.Statement)1