Package com.uc4.communication.requests
Class ServiceFulfillmentList.Filter
- java.lang.Object
-
- com.uc4.api.ObjectTypeFilter
-
- com.uc4.communication.requests.ServiceFulfillmentList.Filter
-
- Enclosing class:
- ServiceFulfillmentList
public static class ServiceFulfillmentList.Filter extends ObjectTypeFilter
Filter in the service fulfillments list.
-
-
Constructor Summary
Constructors Constructor Description Filter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCustomAttributeFilter(CustomAttributeFilter customAttrFilter)
Adds aCustomAttributeFilter
.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 forServiceFulfillmentStatus
.void
clearDateSelectionFilter()
Clears the time range filter.java.util.Iterator<CustomAttributeFilter>
customAttributeFilterIterator()
Returns anIterator
over allCustomAttributeFilter
.void
removeAllCustomAttributeFilter()
Removes allCustomAttributeFilter
.void
removeCustomAttributeFilter(CustomAttributeFilter customAttrFilter)
Removes a specificCustomAttributeFilter
.void
removeReasonFilter()
Removes all previously set reason-filters.void
removeServiceFulfillmentStatusFilter()
Removes all filtersServiceFulfillmentStatus
.void
removeServiceFulfillmentStatusFilter(ServiceFulfillmentStatus serviceFulfillmentStatus)
Removes a specificServiceFulfillmentStatus
filter.java.util.Iterator<ServiceFulfillmentStatus>
serviceFulfillmentStatusIterator()
Returns anIterator
over allServiceFulfillmentStatus
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)
Ifexclude
is set totrue
the service level objective name is excluded from the selection.void
setExcludeServiceName(boolean exclude)
Ifexclude
is set totrue
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.-
Methods inherited from class com.uc4.api.ObjectTypeFilter
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
-
-
-
-
Method Detail
-
setServiceLevelObjectiveFilter
public void setServiceLevelObjectiveFilter(java.lang.String serviceLevelObjectiveFilter)
Sets a filter for the service level objective.- Parameters:
serviceLevelObjectiveFilter
- with wildcards or null to disable this filter
-
setExcludeServiceLevelObjective
public void setExcludeServiceLevelObjective(boolean exclude)
Ifexclude
is set totrue
the service level objective name is excluded from the selection.- Parameters:
exclude
- Boolean value to exclude or include the service level objective name in the selection
-
setServiceNameFilter
public void setServiceNameFilter(java.lang.String serviceNameFilter)
Sets a filter for the service name.- Parameters:
serviceNameFilter
- with wildcards or null to disable this filter
-
setExcludeServiceName
public void setExcludeServiceName(boolean exclude)
Ifexclude
is set totrue
the service name is excluded from the selection.- Parameters:
exclude
- Boolean value to exclude or include the service name in the selection
-
addReasonFilter
public void addReasonFilter(int message)
Sets a filter for the violation reason.- Parameters:
message
- Message number to filter for.
-
addReasonFilter
public void addReasonFilter(int message, java.lang.String insert)
Sets a filter for the violation reason.- Parameters:
message
- Message number to filter for.insert
- Message insert text to filter for in addition to the message number. Wildcards are allowed.
-
removeReasonFilter
public void removeReasonFilter()
Removes all previously set reason-filters.
-
addServiceFulfillmentStatusFilter
public void addServiceFulfillmentStatusFilter(ServiceFulfillmentStatus serviceFulfillmentStatus)
Adds a filter forServiceFulfillmentStatus
.- Parameters:
serviceFulfillmentStatus
-ServiceFulfillmentStatus
-
removeServiceFulfillmentStatusFilter
public void removeServiceFulfillmentStatusFilter()
Removes all filtersServiceFulfillmentStatus
.
-
removeServiceFulfillmentStatusFilter
public void removeServiceFulfillmentStatusFilter(ServiceFulfillmentStatus serviceFulfillmentStatus)
Removes a specificServiceFulfillmentStatus
filter.- Parameters:
serviceFulfillmentStatus
-ServiceFulfillmentStatus
to remove
-
serviceFulfillmentStatusIterator
public java.util.Iterator<ServiceFulfillmentStatus> serviceFulfillmentStatusIterator()
Returns anIterator
over allServiceFulfillmentStatus
filters.- Returns:
Iterator
over allServiceFulfillmentStatus
-
addCustomAttributeFilter
public void addCustomAttributeFilter(CustomAttributeFilter customAttrFilter)
Adds aCustomAttributeFilter
.- Parameters:
customAttrFilter
-CustomAttributeFilter
-
removeAllCustomAttributeFilter
public void removeAllCustomAttributeFilter()
Removes allCustomAttributeFilter
.
-
removeCustomAttributeFilter
public void removeCustomAttributeFilter(CustomAttributeFilter customAttrFilter)
Removes a specificCustomAttributeFilter
.- Parameters:
customAttrFilter
-CustomAttributeFilter
to remove
-
customAttributeFilterIterator
public java.util.Iterator<CustomAttributeFilter> customAttributeFilterIterator()
Returns anIterator
over allCustomAttributeFilter
.- Returns:
Iterator
over allCustomAttributeFilter
-
setDetectionTimeSelectionRange
public void setDetectionTimeSelectionRange(DateTime from, DateTime to)
Sets a detection time interval.- Parameters:
from
- Start of the time intervalto
- End of the time interval
-
setDetectionTimeSelectionLast
public void setDetectionTimeSelectionLast(int amount, TaskFilter.TimeUnit unit)
Sets a detection time range filter for the last minutes, hours or days.- Parameters:
amount
- Number of minutes, hours or daysunit
- Time unit
-
clearDateSelectionFilter
public void clearDateSelectionFilter()
Clears the time range filter.
-
-