public class ManagedArtifact extends BaseModel
| Constructor and Description |
|---|
ManagedArtifact(String name,
ArtifactType type,
String artifactVersion,
String uriPath,
Date time)
Construct the Managed Artifact.
|
ManagedArtifact(String uid,
String name,
ArtifactType type,
String artifactVersion,
String uriPath,
Date time)
Construct the Managed Artifact with a unique identification.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactName()
Returns the name associated with this managed artifact.
|
String |
getArtifactVersion()
Returns the version associated with this managed artifact.
|
Date |
getDeploymentTime()
Returns the
Date associated with the deployment of this managed
artifact to the system. |
String |
getPlanName()
Returns the name of the OSGi plan which includes this artifact.
|
String |
getState()
Returns the OSGi state associated with this managed artifact.
|
ArtifactType |
getType()
Returns the
ArtifactType associated with this managed artifact. |
String |
getUriPath()
Returns the string representing the Uniform Resource Identifier path
for this artifact.
|
void |
setPlanName(String planName)
Sets the name for the plan that this artifact is associated with.
|
void |
setState(String state)
Sets the managed artifact to the supplied OSGi state (represented as a
string).
|
public ManagedArtifact(String name, ArtifactType type, String artifactVersion, String uriPath, Date time)
name - the symbolic name of the artifacttype - the type of artifactartifactVersion - the version of the artifacturiPath - the URI file path of the artifacttime - the time the artifact was createdpublic ManagedArtifact(String uid, String name, ArtifactType type, String artifactVersion, String uriPath, Date time)
uid - the externally unique identification of the artifactname - the symbolic name of the artifacttype - the type of artifactartifactVersion - the version of the artifacturiPath - the URI file path of the artifacttime - the time the artifact was createdIllegalArgumentException - if unique identification is nullpublic String getArtifactName()
public ArtifactType getType()
ArtifactType associated with this managed artifact.ArtifactTypepublic String getArtifactVersion()
public String getUriPath()
public Date getDeploymentTime()
Date associated with the deployment of this managed
artifact to the system.Date of deploymentpublic String getState()
public void setState(String state)
state - the OSGi state for the managed artifactpublic String getPlanName()
public void setPlanName(String planName)
planName - the planName to setCopyright © 2014. All Rights Reserved.