public static class ServiceFulfillmentList.Filter extends ObjectTypeFilter
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
void |
addCustomAttributeFilter(CustomAttributeFilter customAttrFilter)
Adds a
CustomAttributeFilter . |
void |
addReasonFilter(int message)
Sets a filter for the violation reason.
|
void |
addReasonFilter(int message,
java.lang.String insert)
Sets a filter for the violation reason.
|
void |
addServiceFulfillmentStatusFilter(ServiceFulfillmentStatus serviceFulfillmentStatus)
Adds a filter for
ServiceFulfillmentStatus . |
void |
clearDateSelectionFilter()
Clears the time range filter.
|
java.util.Iterator<CustomAttributeFilter> |
customAttributeFilterIterator()
Returns an
Iterator over all CustomAttributeFilter . |
void |
removeAllCustomAttributeFilter()
Removes all
CustomAttributeFilter . |
void |
removeCustomAttributeFilter(CustomAttributeFilter customAttrFilter)
Removes a specific
CustomAttributeFilter . |
void |
removeReasonFilter()
Removes all previously set reason-filters.
|
void |
removeServiceFulfillmentStatusFilter()
Removes all filters
ServiceFulfillmentStatus . |
void |
removeServiceFulfillmentStatusFilter(ServiceFulfillmentStatus serviceFulfillmentStatus)
Removes a specific
ServiceFulfillmentStatus filter. |
java.util.Iterator<ServiceFulfillmentStatus> |
serviceFulfillmentStatusIterator()
Returns an
Iterator over all ServiceFulfillmentStatus filters. |
void |
setDetectionTimeSelectionLast(int amount,
TaskFilter.TimeUnit unit)
Sets a detection time range filter for the last minutes, hours or days.
|
void |
setDetectionTimeSelectionRange(DateTime from,
DateTime to)
Sets a detection time interval.
|
void |
setExcludeServiceLevelObjective(boolean exclude)
If
exclude is set to true the service level objective name is excluded from the selection. |
void |
setExcludeServiceName(boolean exclude)
If
exclude is set to true the service name is excluded from the selection. |
void |
setServiceLevelObjectiveFilter(java.lang.String serviceLevelObjectiveFilter)
Sets a filter for the service level objective.
|
void |
setServiceNameFilter(java.lang.String serviceNameFilter)
Sets a filter for the service name.
|
getOtypes, isTypeAPI, isTypeC_HOSTG, isTypeC_PERIOD, isTypeCALL, isTypeCAU, isTypeCBCK, isTypeCLNTDEL, isTypeCPIT, isTypeDEPLOY, isTypeEVNT, isTypeGROUP, isTypeHOSTG, isTypeJOBD, isTypeJOBF, isTypeJOBG, isTypeJOBP, isTypeJOBQ, isTypeJOBS, isTypeJSCH, isTypePERIOD, isTypePostEVNT, isTypeREPORT, isTypeSCRI, isTypeUSER, selectAllObjects, selectTaskRelatedObjectTypes, setObjectType, setTypeAPI, setTypeC_HOSTG, setTypeC_PERIOD, setTypeCALL, setTypeCAU, setTypeCBCK, setTypeCLNTDEL, setTypeCPIT, setTypeDEPLOY, setTypeEVNT, setTypeGROUP, setTypeHOSTG, setTypeJOBD, setTypeJOBF, setTypeJOBG, setTypeJOBP, setTypeJOBQ, setTypeJOBS, setTypeJSCH, setTypePERIOD, setTypePostEvnt, setTypeREPORT, setTypeSCRI, setTypeUSER, unselectAllObjects
public void setServiceLevelObjectiveFilter(java.lang.String serviceLevelObjectiveFilter)
serviceLevelObjectiveFilter
- with wildcards or null to disable this filterpublic void setExcludeServiceLevelObjective(boolean exclude)
exclude
is set to true
the service level objective name is excluded from the selection.exclude
- Boolean value to exclude or include the service level objective name in the selectionpublic void setServiceNameFilter(java.lang.String serviceNameFilter)
serviceNameFilter
- with wildcards or null to disable this filterpublic void setExcludeServiceName(boolean exclude)
exclude
is set to true
the service name is excluded from the selection.exclude
- Boolean value to exclude or include the service name in the selectionpublic void addReasonFilter(int message)
message
- Message number to filter for.public void addReasonFilter(int message, java.lang.String insert)
message
- Message number to filter for.insert
- Message insert text to filter for in addition to the message number. Wildcards are allowed.public void removeReasonFilter()
public void addServiceFulfillmentStatusFilter(ServiceFulfillmentStatus serviceFulfillmentStatus)
ServiceFulfillmentStatus
.serviceFulfillmentStatus
- ServiceFulfillmentStatus
public void removeServiceFulfillmentStatusFilter()
ServiceFulfillmentStatus
.public void removeServiceFulfillmentStatusFilter(ServiceFulfillmentStatus serviceFulfillmentStatus)
ServiceFulfillmentStatus
filter.serviceFulfillmentStatus
- ServiceFulfillmentStatus
to removepublic java.util.Iterator<ServiceFulfillmentStatus> serviceFulfillmentStatusIterator()
Iterator
over all ServiceFulfillmentStatus
filters.Iterator
over all ServiceFulfillmentStatus
public void addCustomAttributeFilter(CustomAttributeFilter customAttrFilter)
CustomAttributeFilter
.customAttrFilter
- CustomAttributeFilter
public void removeAllCustomAttributeFilter()
CustomAttributeFilter
.public void removeCustomAttributeFilter(CustomAttributeFilter customAttrFilter)
CustomAttributeFilter
.customAttrFilter
- CustomAttributeFilter
to removepublic java.util.Iterator<CustomAttributeFilter> customAttributeFilterIterator()
Iterator
over all CustomAttributeFilter
.Iterator
over all CustomAttributeFilter
public void setDetectionTimeSelectionRange(DateTime from, DateTime to)
from
- Start of the time intervalto
- End of the time intervalpublic void setDetectionTimeSelectionLast(int amount, TaskFilter.TimeUnit unit)
amount
- Number of minutes, hours or daysunit
- Time unitpublic void clearDateSelectionFilter()