|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.platform.admin.api.EntitlementMigrationReport
public class EntitlementMigrationReport
Defines an object for holding results of an entitlement migration. A migration report is generated when an attempt is made to migrate all entitlements from a source VDB to a target VDB.
All values in each line (the inner list) are String
s.
The headere for each entry in the report are described as follows:
AuthorizationPolicyID
) AuthorizationPolicyID
that was created for migration)
Field Summary | |
---|---|
static int |
ACTIONS_INDEX
Index in inner list of where header's value resides. |
static int |
MIGRATED_INDEX
Index in inner list of where header's value resides. |
static int |
NUMBER_OF_VALUES
The number of values that can be expected in each line entry. |
static int |
REASON_INDEX
Index in inner list of where header's value resides. |
static int |
RESOURCE_INDEX
Index in inner list of where header's value resides. |
static int |
SOURCE_POLICYID_INDEX
Index in inner list of where header's value resides. |
static int |
TARGET_POLICYID_INDEX
Index in inner list of where header's value resides. |
Constructor Summary | |
---|---|
EntitlementMigrationReport(java.lang.String sourceVDB,
java.lang.String targetVDB)
Construct with a source and a target VDB. |
Method Summary | |
---|---|
void |
addResourceEntry(java.lang.Object migrated,
java.lang.Object resource,
java.lang.Object source_policy,
java.lang.Object target_policy,
java.lang.Object actions,
java.lang.Object reason)
|
java.util.List |
getEntries()
Get all the entries in the report. |
java.util.List |
getHeaderList()
Get the column headers in the report. |
java.lang.String |
getSourceVDBID()
Get the source VDB ID from which the entitlement migration was attmpted. |
java.lang.String |
getTargetVDBID()
Get the target VDB ID to which the entitlement migration was attmpted. |
void |
setSourceVDBID(java.lang.String sourceVDB)
Set the source VDB ID from which the entitlement migration was attmpted. |
void |
setTargetVDBID(java.lang.String targetVDB)
Set the target VDB ID to which the entitlement migration was attmpted. |
java.lang.String |
toString()
|
void |
writeReport(java.lang.String fileName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MIGRATED_INDEX
public static final int RESOURCE_INDEX
public static final int SOURCE_POLICYID_INDEX
public static final int TARGET_POLICYID_INDEX
public static final int ACTIONS_INDEX
public static final int REASON_INDEX
public static final int NUMBER_OF_VALUES
Constructor Detail |
---|
public EntitlementMigrationReport(java.lang.String sourceVDB, java.lang.String targetVDB)
sourceVDB
- The name and version of the source VDB.targetVDB
- The name and version of the target VDB.Method Detail |
---|
public void addResourceEntry(java.lang.Object migrated, java.lang.Object resource, java.lang.Object source_policy, java.lang.Object target_policy, java.lang.Object actions, java.lang.Object reason)
public java.lang.String getSourceVDBID()
public void setSourceVDBID(java.lang.String sourceVDB)
The
- source Virtual Database name and version.public java.lang.String getTargetVDBID()
public void setTargetVDBID(java.lang.String targetVDB)
The
- target Virtual Database name and version.public java.util.List getEntries()
List
of
List
s. The entries of the inner List
are defined
in this class' header.
public java.util.List getHeaderList()
List
of
String
s. The values of this list reside at the index locations
above.
public void writeReport(java.lang.String fileName) throws java.lang.Exception
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |