|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plugins.grails.GrailsCommandDecorator
public class GrailsCommandDecorator
Constructor Summary | |
---|---|
GrailsCommandDecorator()
|
Method Summary | |
---|---|
boolean |
canDecorate(Command command)
Given a command, determine whether or not it can be decorated. |
java.util.List<java.lang.String> |
decorateArguments(java.util.List<java.lang.String> arguments)
Given a list of command line arguments, return a possibly new list of arguments. |
void |
init(BuildContext context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrailsCommandDecorator()
Method Detail |
---|
public void init(BuildContext context)
init
in interface CommandDecorator
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.
@NotNull public java.util.List<java.lang.String> decorateArguments(@NotNull java.util.List<java.lang.String> arguments)
CommandDecorator
CommandDecorator.canDecorate(com.atlassian.bamboo.command.Command)
method returns true.
decorateArguments
in interface CommandDecorator
arguments
- the original list of command line arguments configured in the Builder configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |