com.ibm.ia.runtime.management
Class SolutionVersionInfo
- java.lang.Object
-
- com.ibm.ia.runtime.management.SolutionVersionInfo
-
public class SolutionVersionInfo extends java.lang.Object
This class represents a particular version of a Solution
-
-
Constructor Summary
Constructors Constructor and Description SolutionVersionInfo(java.lang.String name, java.lang.String version, java.util.List<SolutionFeature> features, java.util.List<SolutionAgent> agents)
-
Method Summary
Methods Modifier and Type Method and Description void
addAgent(SolutionAgent agent)
void
addFeature(SolutionFeature feature)
java.util.List<SolutionAgent>
getAgents()
Return the list of agents contained in this solution version.java.util.List<SolutionFeature>
getFeatures()
Return the list of features associated with this solution version.java.lang.String
getName()
Returns the name of this solution including the version, e.g.java.lang.String
getVersion()
Returns the bundle version for this solution version, e.g.java.lang.String
toString()
-
-
-
Constructor Detail
-
SolutionVersionInfo
@ConstructorProperties(value={"name","version","features","agents"}) public SolutionVersionInfo(java.lang.String name, java.lang.String version, java.util.List<SolutionFeature> features, java.util.List<SolutionAgent> agents)
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of this solution including the version, e.g. solutionA-1.0
-
getVersion
public java.lang.String getVersion()
Returns the bundle version for this solution version, e.g. 0.1.0.20131016035259
-
addFeature
public void addFeature(SolutionFeature feature)
-
addAgent
public void addAgent(SolutionAgent agent)
-
getFeatures
public java.util.List<SolutionFeature> getFeatures()
Return the list of features associated with this solution version. Usually this will be just the one feature that introduced this version but could also include updates to the solution (i.e. partial solutions).
-
getAgents
public java.util.List<SolutionAgent> getAgents()
Return the list of agents contained in this solution version.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-