public class Target extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Target.TYPE |
| Constructor and Description |
|---|
Target(String name,
String classifier,
String deployDir)
Constructor.
|
Target(String name,
String classifier,
String mavenUrl,
boolean isReleaseEnabled,
boolean isSnapshotEnabled)
Constructor a target of type Maven.
|
Target(String name,
String classifier,
String rhqUser,
String rhqPassword,
String rhqBaseUrl)
Constructs a Target of Type RHQ to use it (JON) to deploy archives to a RHQ server
group.
|
Target(String name,
String classifier,
String asUser,
String asPassword,
String asHost,
Integer asPort)
Constructs a Target of Type AS_CLI 'Application Server Command Line Interface.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassifier() |
String |
getDeployDir() |
String |
getHost() |
String |
getMavenUrl() |
String |
getName() |
String |
getPassword() |
Integer |
getPort() |
String |
getRhqBaseUrl() |
Target.TYPE |
getType() |
String |
getUser() |
boolean |
isReleaseEnabled() |
boolean |
isSnapshotEnabled() |
void |
setClassifier(String classifier) |
void |
setDeployDir(String deployDir) |
void |
setHost(String host) |
void |
setMavenUrl(String mavenUrl) |
void |
setName(String name) |
void |
setPassword(String password) |
void |
setPort(Integer port) |
void |
setReleaseEnabled(boolean isReleaseEnabled) |
void |
setRhqBaseUrl(String rhqBaseUrl) |
void |
setSnapshotEnabled(boolean isSnapshotEnabled) |
void |
setType(Target.TYPE type) |
void |
setUser(String user) |
String |
toString() |
public Target(String name, String classifier, String deployDir)
name - classifier - deployDir - public Target(String name, String classifier, String asUser, String asPassword, String asHost, Integer asPort)
name - - name of the targetclassifier - asUser - - AS user with admin rightsasPassword - - password of the asUserasHost - - Application Server Hostname (defaults to localhost)asPort - - Application Server Port (defaults to 9999)public Target(String name, String classifier, String rhqUser, String rhqPassword, String rhqBaseUrl)
name - - name of the target - which needs to correspond to the RHQ Server Group.classifier - rhqUser - - username of the RHQ user with rights to deploy to that group.rhqPassword - - password of the rhqUser.rhqBaseUrl - - baseUrl of the RHQ Server i.e. http://localhost:7080/public String getHost()
public void setHost(String host)
public Target.TYPE getType()
public void setType(Target.TYPE type)
public String getUser()
public void setUser(String user)
public String getPassword()
public void setPassword(String password)
public String getRhqBaseUrl()
public void setRhqBaseUrl(String rhqBaseUrl)
public Integer getPort()
public void setPort(Integer port)
public void setName(String name)
public String getName()
public void setDeployDir(String deployDir)
public String getDeployDir()
public String getMavenUrl()
public void setMavenUrl(String mavenUrl)
public boolean isReleaseEnabled()
public void setReleaseEnabled(boolean isReleaseEnabled)
public boolean isSnapshotEnabled()
public void setSnapshotEnabled(boolean isSnapshotEnabled)
public String getClassifier()
public void setClassifier(String classifier)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.