public abstract class KieServerAbstactMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
container |
protected String |
contextPath |
protected String |
hostname |
protected KieServerGateway |
kieServerGateway |
protected String |
password |
protected Integer |
port |
protected org.apache.maven.project.MavenProject |
project |
protected String |
protocol |
protected Integer |
timeout |
protected String |
username |
| Constructor and Description |
|---|
KieServerAbstactMojo() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
excecuteCommand() |
void |
execute() |
@Parameter(defaultValue="${project}",
required=false,
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(property="deploy.container") protected String container
@Parameter(property="deploy.hostname",
defaultValue="localhost")
protected String hostname
@Parameter(property="deploy.port",
defaultValue="8080")
protected Integer port
@Parameter(property="deploy.protocol",
defaultValue="http")
protected String protocol
@Parameter(property="deploy.context-path",
defaultValue="kie-server")
protected String contextPath
@Parameter(property="deploy.username",
required=true,
readonly=true)
protected String username
@Parameter(property="deploy.password",
required=true,
readonly=true)
protected String password
@Parameter(property="deploy.timeout",
defaultValue="30000")
protected Integer timeout
protected KieServerGateway kieServerGateway
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic abstract void excecuteCommand()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.