public class ReconUnitData
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
STANDARD_RECON
Constant to indicate that the recon query mode is
standard.
|
static int |
SUPPORT_DATA_RECON
Constant to indicate that the recon query mode is
supporting data only.
|
| Constructor and Description |
|---|
ReconUnitData() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDayOfMonth()
Returns the day of the month of schedule of this reconciliation unit.
|
int |
getDayOfWeek()
Returns the day of the week of schedule of this reconciliation unit.
|
java.lang.String |
getDaysOfWeek()
Returns the days of the week of this reconciliation unit.
|
java.lang.String |
getDescription()
Gets the description of this reconciliation unit
|
int |
getHour()
Returns the hour of the schedule of this reconciliation unit.
|
long |
getID()
Returns the reconciliation unit data id.
|
long |
getLastReconDuration()
Returns the duration (in milliseconds) of the last reconciliation event.
|
long |
getMaxDuration()
Returns the max duration the reconciliation process, launched using this
reconciliation unit, can run.
|
int |
getMinute()
Returns the minute of the schedule of this reconciliation unit.
|
int |
getMonth()
Returns the month of the schedule of this reconciliation unit.
|
java.lang.String |
getName()
Gets the name of this reconciliation unit
|
java.util.Collection |
getReconQueryAttributes()
Returns the reconciliation query attributes associated with this
reconciliation unit.
|
java.lang.String |
getReconQueryFilter()
Returns the query filter associated with this reconciliation unit.
|
int |
getReconQueryMode() |
boolean |
isLockService()
Returns true if the service is locked during reconciliation, else
returns false.
|
void |
setDayOfMonth(int dayOfMonth)
Changes the day of the month of schedule of this reconciliation unit.
|
void |
setDayOfWeek(int dayOfWeek)
Changes the day of the week of schedule of this reconciliation unit.
|
void |
setDaysOfWeek(java.lang.String daysOfWeek)
Changes the days of the week of schedule of this reconciliation unit.
|
void |
setDescription(java.lang.String description)
Sets the description of this reconciliation unit
|
void |
setHour(int hour)
Changes the hour of the schedule of this reconciliation unit.
|
void |
setID(long id)
Sets the reconciliation unit data id.
|
void |
setLastReconDuration(long lastReconDuration)
Sets the duration (in milliseconds) of the last reconciliation event
|
void |
setLockService(boolean lockService)
Indicates whether the service is locked during reconciliation.
|
void |
setMaxDuration(long maxDuration)
Sets the max duration the reconciliation process, launched using this
reconciliation unit, can run.
|
void |
setMinute(int minute)
Changes the minute of the schedule of this reconciliation unit.
|
void |
setMonth(int month)
Changes the month of the schedule of this reconciliation unit.
|
void |
setName(java.lang.String name)
Sets the name of this reconciliation unit
|
void |
setReconQueryAttributes(java.util.Collection reconQueryAttributes)
Sets the attributes that are to be reconciled from the resource.
|
void |
setReconQueryAttributes(java.util.Collection availableReconAttributes,
java.util.Collection excludedReconAttributes)
Sets the attributes that are to be reconciled from the resource.
|
void |
setReconQueryFilter(java.lang.String filter)
Sets the reconciliation query filter associated with this reconciliation
unit.
|
void |
setReconQueryMode(int reconQueryMode) |
java.lang.String |
toString()
Returns schedule information of this reconciliation unit in
string format.
|
public static final int SUPPORT_DATA_RECON
public static final int STANDARD_RECON
public long getID()
public void setID(long id)
id - public boolean isLockService()
public void setLockService(boolean lockService)
lockService - boolean value.public long getMaxDuration()
public void setMaxDuration(long maxDuration)
maxDuration - Max duration.public long getLastReconDuration()
public void setLastReconDuration(long lastReconDuration)
public int getMinute()
public void setMinute(int minute)
minute - New minute to configure. Allowed values 0-59.public int getHour()
public void setHour(int hour)
hour - New hour to configure. Allowed values 0-23. Use -1 to
configure hourly reconciliation.public int getMonth()
public void setMonth(int month)
month - New month to configure (-1 if every month, 0 to ignore).
Allowed values 1-12 (1 = January, 2 = February,
...). java.util.Calendar constants can be used.public java.lang.String getDaysOfWeek()
public int getDayOfWeek()
public void setDaysOfWeek(java.lang.String daysOfWeek)
daysOfWeek - new days of the week to configure.
Allowed values 1-7 (1 = Sunday,
2 = Monday, ...) and multiple values are
specified in pipe-separated format
(1|2 = Sunday and Monday)public void setDayOfWeek(int dayOfWeek)
dayOfWeek - New day of the week to configure
This attribute is exclusive with
dayOfMonth. Allowed values 1-7 (1 = Sunday,
2 = Monday, ...), 0 to ignore. java.util.Calendar
constants can be used.public int getDayOfMonth()
public void setDayOfMonth(int dayOfMonth)
dayOfMonth - New day of the month to configure.
This attribute is exclusive with dayOfWeek.
Allowed values 1-31, -1 if every day, 0 to ignore.public java.lang.String getReconQueryFilter()
public void setReconQueryFilter(java.lang.String filter)
filter - Reconciliation query filter.public java.util.Collection getReconQueryAttributes()
public void setReconQueryAttributes(java.util.Collection reconQueryAttributes)
reconQueryAttributes - A collection of available reconciliation
query attributes.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - Description of reconciliation unitpublic java.lang.String getName()
public void setName(java.lang.String name)
name - Name of this reconciliation unitpublic void setReconQueryAttributes(java.util.Collection availableReconAttributes,
java.util.Collection excludedReconAttributes)
availableReconAttributes - A collection of all available
reconciliation query attribute
names.excludedReconAttributes - A collection of reconciliation
query attributes to be excluded.public java.lang.String toString()
toString in class java.lang.Objectpublic int getReconQueryMode()
public void setReconQueryMode(int reconQueryMode)
reconQueryMode - the reconQueryMode to set.
Should be either ReconUnitData.SUPPORT_DATA_RECON
or ReconUnitData.STANDARD_RECON