de.smartics.ci.comm.hudson.command
Class HudsonDisableJobCommand
java.lang.Object
de.smartics.ci.comm.command.AbstractCommand<T>
de.smartics.ci.comm.command.AbstractJobCommand<T>
de.smartics.ci.comm.command.AbstractDisableJobCommand<HudsonDisableJobCommand>
de.smartics.ci.comm.hudson.command.HudsonDisableJobCommand
-
All Implemented Interfaces:
-
Command<
HudsonDisableJobCommand>
-
public final class HudsonDisableJobCommand
-
extends
AbstractDisableJobCommand<
HudsonDisableJobCommand>
Disable job command.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HudsonDisableJobCommand
public HudsonDisableJobCommand(String jobName)
-
Default constructor.
-
Parameters:
-
jobName
- the name of the job that shall be disabled.
HudsonDisableJobCommand
public HudsonDisableJobCommand()
-
Default constructor. Sets jobName to null. Must be set before using this command.
execute
public void execute(CiSystem target)
throws CommandException
-
Description copied from class:
AbstractDisableJobCommand
-
Executes the command.
-
-
Specified by:
-
execute
in interface
Command<HudsonDisableJobCommand>
-
Specified by:
-
execute
in class
AbstractDisableJobCommand<HudsonDisableJobCommand>
-
-
Parameters:
-
target
- the target to execute the command against.
-
Throws:
-
CommandException
- signals problems encountered while executing the command.
Copyright © 2012
Kronseder & Reiner GmbH - smartics. All Rights Reserved.