public class ManagedPlan extends BaseModel
| Constructor and Description |
|---|
ManagedPlan(String name,
String planVersion,
boolean scoped,
boolean atomic,
String uriPath,
Date time)
Construct the Managed Plan.
|
ManagedPlan(String uid,
String name,
String planVersion,
boolean scoped,
boolean atomic,
String uriPath,
Date time)
Construct the Managed Plan with a unique identification.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentNamePrefix()
Returns the prefix that will be added to the OSGi symbolic name of all
artifacts defined within this plan.
|
Date |
getDeploymentTime()
Returns the
Date associated with the deployment of this managed
plan to the system. |
String |
getPlanName()
Returns the name associated with this managed plan.
|
String |
getPlanVersion()
Returns the version associated with this managed plan.
|
String |
getState()
Returns the OSGi state associated with this managed plan.
|
String |
getUriPath()
Returns the string representing the Uniform Resource Identifier path
for this plan.
|
boolean |
isAtomic()
Returns
true if this plan is atomic. |
boolean |
isScoped()
Returns
true if this plan is scoped. |
void |
setState(String state)
Sets the managed plan to the supplied OSGi state (represented as a
string).
|
public ManagedPlan(String name, String planVersion, boolean scoped, boolean atomic, String uriPath, Date time)
name - the name of the planplanVersion - the version of the planscoped - true if this plan is scopedatomic - true if this plan is atomicuriPath - the URI file path of the plantime - the time the plan was createdpublic ManagedPlan(String uid, String name, String planVersion, boolean scoped, boolean atomic, String uriPath, Date time)
uid - the externally unique identification of the planname - the name of the planplanVersion - the version of the planscoped - true if this plan is scopedatomic - true if this plan is atomicuriPath - the URI file path of the plantime - the time the plan was createdIllegalArgumentException - if unique identification is nullpublic String getPlanName()
public String getPlanVersion()
public boolean isScoped()
true if this plan is scoped.true if plan is scopedpublic boolean isAtomic()
true if this plan is atomic.true if this plan is atomicpublic String getUriPath()
public Date getDeploymentTime()
Date associated with the deployment of this managed
plan to the system.Date of deploymentpublic String getState()
public void setState(String state)
state - the OSGi state for the managed planpublic String getComponentNamePrefix()
StringUtils.EMPTY
string.Copyright © 2014. All Rights Reserved.