|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.plugin.packaging.AbstractDistributor
Base class for Distributors defining common attributes.
Field Summary | |
protected javax.management.ObjectName |
storeName
|
Constructor Summary | |
AbstractDistributor()
|
Method Summary | |
abstract void |
execute()
|
java.io.File |
getArtifact()
|
java.lang.String |
getPassword()
|
java.lang.String |
getStoreName()
|
java.lang.String |
getUrl()
|
java.lang.String |
getUser()
|
void |
setArtifact(java.io.File artifact)
Set the artifact to distribute. |
void |
setPassword(java.lang.String password)
Set the password used to connect to the server. |
void |
setStoreName(java.lang.String storeName)
Set the name of the ConfigurationStore in the server that the artifact should be installed in. |
void |
setUrl(java.lang.String url)
Set the URL of the server. |
void |
setUser(java.lang.String user)
Set the username used to connect to the server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.management.ObjectName storeName
Constructor Detail |
public AbstractDistributor()
Method Detail |
public java.lang.String getUser()
public void setUser(java.lang.String user)
user
- the usernamepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the passwordpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- the URL of the serverpublic java.io.File getArtifact()
public void setArtifact(java.io.File artifact)
artifact
- the artifact to distributepublic java.lang.String getStoreName()
public void setStoreName(java.lang.String storeName)
storeName
- the name of the ConfigurationStore to distribute topublic abstract void execute() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |