Package org.kie.server.maven.plugin
Class KieServerAbstactMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.kie.server.maven.plugin.KieServerAbstactMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
DeployMojo,DisposeMojo,UpdateMojo
public abstract class KieServerAbstactMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcontainerprotected StringcontextPathprotected Stringhostnameprotected KieServerGatewaykieServerGatewayprotected Stringpasswordprotected Integerportprotected org.apache.maven.project.MavenProjectprojectprotected Stringprotocolprotected Integertimeoutprotected Stringusername
-
Constructor Summary
Constructors Constructor Description KieServerAbstactMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidexcecuteCommand()voidexecute()
-
-
-
Field Detail
-
project
@Parameter(defaultValue="${project}", required=false, readonly=true) protected org.apache.maven.project.MavenProject project
-
container
@Parameter(property="deploy.container") protected String container
-
hostname
@Parameter(property="deploy.hostname", defaultValue="localhost") protected String hostname
-
port
@Parameter(property="deploy.port", defaultValue="8080") protected Integer port
-
protocol
@Parameter(property="deploy.protocol", defaultValue="http") protected String protocol
-
contextPath
@Parameter(property="deploy.context-path", defaultValue="kie-server") protected String contextPath
-
username
@Parameter(property="deploy.username", required=true, readonly=true) protected String username
-
password
@Parameter(property="deploy.password", required=true, readonly=true) protected String password
-
timeout
@Parameter(property="deploy.timeout", defaultValue="30000") protected Integer timeout
-
kieServerGateway
protected KieServerGateway kieServerGateway
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
excecuteCommand
public abstract void excecuteCommand() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-