|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.command.AbstractCommandDecorator<T>
T
- extends Command
TaskProcessCommandDecorator
instead
@Deprecated public abstract class AbstractCommandDecorator<T extends Command>
Constructor Summary | |
---|---|
protected |
AbstractCommandDecorator(java.lang.Class<T> commandClass)
Deprecated. |
Method Summary | |
---|---|
protected void |
addArgument(java.util.List<java.lang.String> args,
java.lang.String argument)
Deprecated. Argument is added to the beginning of command line. |
boolean |
canDecorate(Command command)
Deprecated. Given a command, determine whether or not it can be decorated. |
protected BuildContext |
getBuildContext()
Deprecated. |
protected T |
getCommand()
Deprecated. |
void |
init(BuildContext buildContext)
Deprecated. |
protected java.lang.String |
quoteArgument(java.lang.String argument)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.command.CommandDecorator |
---|
decorateArguments |
Constructor Detail |
---|
protected AbstractCommandDecorator(java.lang.Class<T> commandClass)
Method Detail |
---|
public boolean canDecorate(Command command)
CommandDecorator
canDecorate
in interface CommandDecorator
command
- the command that will be decorated
true
if the command can be decorated by this Decorator. false otherwise.
public void init(BuildContext buildContext)
init
in interface CommandDecorator
protected void addArgument(@NotNull java.util.List<java.lang.String> args, @NotNull java.lang.String argument)
args
- Commandline argumentsargument
- Argument to be added to commandline@Nullable protected T getCommand()
@Nullable protected BuildContext getBuildContext()
@NotNull protected java.lang.String quoteArgument(@NotNull java.lang.String argument)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |