|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.vremanagement.softwarerepository.softwarearchive.SoftwareArchive
public class SoftwareArchive
Constructor Summary | |
---|---|
SoftwareArchive(java.lang.String serviceID)
Constructor |
|
SoftwareArchive(java.lang.String groupID,
java.lang.String url,
java.lang.String description,
java.lang.String[] scopes)
Constructor |
Method Summary | |
---|---|
void |
approve()
Approve a Software Archive |
void |
validate()
Validate a Software Archive and set the sate in pending |
void |
withdrawn()
Remove Software Archive |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SoftwareArchive(java.lang.String serviceID) throws java.lang.Exception
serviceID
- Service ID
java.lang.Exception
- if constructor failspublic SoftwareArchive(java.lang.String groupID, java.lang.String url, java.lang.String description, java.lang.String[] scopes) throws java.lang.Exception
groupID
- service unique ID (service class + name + version)url
- network location of the SAdescription
- SA descriptionscopes
- target scopes, i.e. the scopes where the SA will be visible after the approval
java.lang.Exception
- if constructor failsMethod Detail |
---|
public void validate() throws java.lang.Exception
java.lang.Exception
- if validation failspublic void approve() throws java.lang.Exception
java.lang.Exception
- if approve failspublic void withdrawn() throws java.lang.Exception
java.lang.Exception
- if remove fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |