com.ibm.ia.runtime.management
Class Solution
- java.lang.Object
-
- com.ibm.ia.runtime.management.Solution
-
public class Solution extends java.lang.Object
This bean represents information that may be returned via JMX about a solution.
-
-
Constructor Summary
Constructors Constructor and Description Solution(java.lang.String name, java.util.List<SolutionVersionInfo> versions, java.lang.String currentVersion)
-
Method Summary
Methods Modifier and Type Method and Description void
addVersion(SolutionVersionInfo version)
java.lang.String
getCurrentVersion()
Returns the current version of the solution, e.g.java.lang.String
getName()
Returns the name of the solution.java.util.List<SolutionVersionInfo>
getVersions()
Returns a List of all versions of this solution.java.lang.String
toString()
-
-
-
Constructor Detail
-
Solution
@ConstructorProperties(value={"name","versions","currentVersion"}) public Solution(java.lang.String name, java.util.List<SolutionVersionInfo> versions, java.lang.String currentVersion)
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of the solution.
-
addVersion
public void addVersion(SolutionVersionInfo version)
-
getVersions
public java.util.List<SolutionVersionInfo> getVersions()
Returns a List of all versions of this solution.
-
getCurrentVersion
public java.lang.String getCurrentVersion()
Returns the current version of the solution, e.g. BankingSol-1.4. May be null.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-