de.smartics.ci.comm.command
Class AbstractDeleteJobCommand<T extends Command<T>>

Package class diagram package AbstractDeleteJobCommand
java.lang.Object
  extended by de.smartics.ci.comm.command.AbstractCommand<T>
      extended by de.smartics.ci.comm.command.AbstractJobCommand<T>
          extended by de.smartics.ci.comm.command.AbstractDeleteJobCommand<T>
Type Parameters:
T - the concrete type of the command.
All Implemented Interfaces:
Command<T>
Direct Known Subclasses:
HudsonDeleteJobCommand

public abstract class AbstractDeleteJobCommand<T extends Command<T>>
     
     
extends AbstractJobCommand<T>

The type of the delete job commands.


Field Summary
 
Fields inherited from class de.smartics.ci.comm.command.AbstractJobCommand
jobName
 
Fields inherited from class de.smartics.ci.comm.command.AbstractCommand
ERROR_CATEGORY_DESTINGUISHER, logLevel
 
Constructor Summary
protected AbstractDeleteJobCommand(String jobName)
          Default constructor.
 
Method Summary
abstract  void execute(CiSystem target)
          Executes the command.
 
Methods inherited from class de.smartics.ci.comm.command.AbstractJobCommand
buildCiJobApiUrl, setJobName
 
Methods inherited from class de.smartics.ci.comm.command.AbstractCommand
addRequestHeaders, buildQueryString, checkParameterNotBlank, checkResult, checkResultRegardingRedirect, fetchDelimiter, setLogLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDeleteJobCommand

protected AbstractDeleteJobCommand(String jobName)
Default constructor.

Parameters:
jobName - the name of the job that shall be enabled.
Method Detail

execute

public abstract void execute(CiSystem target)
                      throws CommandException
Executes the command.

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.