|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.core.resources.service.Package
public class Package
| Nested Class Summary | |
|---|---|
static class |
Package.GHNRequirement
|
static class |
Package.MavenCoordinate
|
static class |
Package.ScopeLevel
|
| Field Summary | |
|---|---|
protected Map<Package.MavenCoordinate,String> |
coordinates
Coordinates of the artifact in a Maven Repository |
protected String |
description
|
| Constructor Summary | |
|---|---|
Package()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<Dependency> |
getDependencies()
Returns the package dependencies dependencies. |
String |
getDescription()
|
List<Package.GHNRequirement> |
getGHNRequirements()
Returns the GHN requirements for the package. |
List<String> |
getInstallScripts()
Returns the names of the install scripts associated with the package. |
Package.ScopeLevel |
getMandatoryLevel()
Returns the level of scope at which the package is mandatory. |
String |
getMavenCoordinate(Package.MavenCoordinate name)
Gets a coordinate's value |
Boolean |
getMultiVersion()
Indicates whether the package can coexist with previous versions on the same GHN. |
String |
getName()
Returns the name of the package. |
List<String> |
getRebootScripts()
Returns the names of the reboot scripts associated with the package. |
Package.ScopeLevel |
getSharingLevel()
Returns the level of scope at which the package can be shared. |
String |
getSpecificData()
Returns package-specific data. |
PlatformDescription |
getTargetPlatform()
|
List<String> |
getUninstallScripts()
Returns the names of the uninstall scripts associated with the package. |
String |
getVersion()
Returns the package version. |
void |
setDescription(String description)
|
void |
setGHNRequirements(List<Package.GHNRequirement> arg0)
|
void |
setInstallScripts(List<String> installScripts)
Sets the install scripts associated with the package. |
void |
setMandatoryLevel(Package.ScopeLevel level)
Sets the level of scope at which the package is mandatory. |
void |
setMavenCoordinates(String groupId,
String artifactId,
String version,
String... classifier)
Sets the maven coordinates of the package |
void |
setMultiVersion(Boolean support)
Indicates whether the package can coexist with previous versions on the same GHN. |
void |
setName(String arg0)
|
void |
setRebootScripts(List<String> rebootScripts)
Sets the reboot scripts associated with the package |
void |
setSharingLevel(Package.ScopeLevel level)
Sets the level of scope at which the package can be shared. |
void |
setSpecificData(String data)
Sets package-specific data. |
void |
setTargetPlatform(PlatformDescription targetPlatform)
|
void |
setUninstallScripts(List<String> scripts)
|
void |
setVersion(String version)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String description
protected Map<Package.MavenCoordinate,String> coordinates
| Constructor Detail |
|---|
public Package()
| Method Detail |
|---|
public String getName()
public List<Dependency> getDependencies()
public List<Package.GHNRequirement> getGHNRequirements()
public List<String> getInstallScripts()
public Boolean getMultiVersion()
true if it does, false otherwise.public void setMultiVersion(Boolean support)
support - true if it does, false otherwise.public List<String> getRebootScripts()
public List<String> getUninstallScripts()
public String getVersion()
public Package.ScopeLevel getMandatoryLevel()
public void setMandatoryLevel(Package.ScopeLevel level)
level - the scope levelpublic Package.ScopeLevel getSharingLevel()
public void setSharingLevel(Package.ScopeLevel level)
level - the scope levelpublic void setGHNRequirements(List<Package.GHNRequirement> arg0)
public void setName(String arg0)
public void setMavenCoordinates(String groupId,
String artifactId,
String version,
String... classifier)
groupId - artifactId - version - classifier - public String getMavenCoordinate(Package.MavenCoordinate name)
name - the name
public void setUninstallScripts(List<String> scripts)
public void setVersion(String version)
public void setInstallScripts(List<String> installScripts)
installScripts - the scripts.public void setRebootScripts(List<String> rebootScripts)
rebootScripts - the scripts.public String getSpecificData()
public void setSpecificData(String data)
data - the data.public String getDescription()
public void setDescription(String description)
public void setTargetPlatform(PlatformDescription targetPlatform)
targetPlatform - the targetPlatform to setpublic PlatformDescription getTargetPlatform()
public boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||