Search in sources :

Example 1 with BundleJobChangeXCommand

use of org.apache.oozie.command.bundle.BundleJobChangeXCommand in project oozie by apache.

the class BundleEngine method change.

/* (non-Javadoc)
     * @see org.apache.oozie.BaseEngine#change(java.lang.String, java.lang.String)
     */
@Override
public void change(String jobId, String changeValue) throws BundleEngineException {
    try {
        BundleJobChangeXCommand change = new BundleJobChangeXCommand(jobId, changeValue);
        change.call();
    } catch (CommandException ex) {
        throw new BundleEngineException(ex);
    }
}
Also used : BundleJobChangeXCommand(org.apache.oozie.command.bundle.BundleJobChangeXCommand) CommandException(org.apache.oozie.command.CommandException)

Aggregations

CommandException (org.apache.oozie.command.CommandException)1 BundleJobChangeXCommand (org.apache.oozie.command.bundle.BundleJobChangeXCommand)1