public class DeploymentInfo extends Object
DeploymentInfo.fromClassLoader(ClassLoader classloader))| Constructor and Description |
|---|
DeploymentInfo(Set<MavenInfo> maven,
Set<ManifestInfo> manifest)
Instantiates a new deployment info.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DeploymentInfo |
fromClassLoader(ClassLoader classloader)
Load the deployment info for this classloader.
|
Set<ManifestInfo> |
getManifest()
Gets the manifest attributes.
|
static Set<ManifestInfo> |
getManifest(ClassLoader classloader)
Gets the manifest Info.
|
static ManifestInfo |
getManifest(Resource resource)
Gets the manifest for a specific resource.
|
Set<MavenInfo> |
getMaven()
Gets the maven coordinates.
|
int |
hashCode() |
boolean |
isEmpty()
Checks if is empty.
|
void |
setManifest(Set<ManifestInfo> manifest)
Sets the manifest.
|
void |
setMaven(Set<MavenInfo> maven)
Sets the maven coordinates.
|
String |
toString() |
public DeploymentInfo(Set<MavenInfo> maven, Set<ManifestInfo> manifest)
maven - the maven coordinatesmanifest - the manifest attributespublic Set<ManifestInfo> getManifest()
public Set<MavenInfo> getMaven()
public void setMaven(Set<MavenInfo> maven)
maven - the new maven coordinatespublic boolean isEmpty()
public void setManifest(Set<ManifestInfo> manifest)
manifest - the new manifestpublic static DeploymentInfo fromClassLoader(ClassLoader classloader)
classloader - the ClassLoaderpublic static Set<ManifestInfo> getManifest(ClassLoader classloader)
classloader - the ClassLoaderpublic static ManifestInfo getManifest(Resource resource)
resource - the resourceCopyright © 2018. All rights reserved.