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 voidaddCustomAttributeFilter(CustomAttributeFilter customAttrFilter)Adds aCustomAttributeFilter.voidaddReasonFilter(int message)Sets a filter for the violation reason.voidaddReasonFilter(int message, java.lang.String insert)Sets a filter for the violation reason.voidaddServiceFulfillmentStatusFilter(ServiceFulfillmentStatus serviceFulfillmentStatus)Adds a filter forServiceFulfillmentStatus.voidclearDateSelectionFilter()Clears the time range filter.java.util.Iterator<CustomAttributeFilter>customAttributeFilterIterator()Returns anIteratorover allCustomAttributeFilter.voidremoveAllCustomAttributeFilter()Removes allCustomAttributeFilter.voidremoveCustomAttributeFilter(CustomAttributeFilter customAttrFilter)Removes a specificCustomAttributeFilter.voidremoveReasonFilter()Removes all previously set reason-filters.voidremoveServiceFulfillmentStatusFilter()Removes all filtersServiceFulfillmentStatus.voidremoveServiceFulfillmentStatusFilter(ServiceFulfillmentStatus serviceFulfillmentStatus)Removes a specificServiceFulfillmentStatusfilter.java.util.Iterator<ServiceFulfillmentStatus>serviceFulfillmentStatusIterator()Returns anIteratorover allServiceFulfillmentStatusfilters.voidsetDetectionTimeSelectionLast(int amount, TaskFilter.TimeUnit unit)Sets a detection time range filter for the last minutes, hours or days.voidsetDetectionTimeSelectionRange(DateTime from, DateTime to)Sets a detection time interval.voidsetExcludeServiceLevelObjective(boolean exclude)Ifexcludeis set totruethe service level objective name is excluded from the selection.voidsetExcludeServiceName(boolean exclude)Ifexcludeis set totruethe service name is excluded from the selection.voidsetServiceLevelObjectiveFilter(java.lang.String serviceLevelObjectiveFilter)Sets a filter for the service level objective.voidsetServiceNameFilter(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)
Ifexcludeis set totruethe 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)
Ifexcludeis set totruethe 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 specificServiceFulfillmentStatusfilter.- Parameters:
serviceFulfillmentStatus-ServiceFulfillmentStatusto remove
-
serviceFulfillmentStatusIterator
public java.util.Iterator<ServiceFulfillmentStatus> serviceFulfillmentStatusIterator()
Returns anIteratorover allServiceFulfillmentStatusfilters.- Returns:
Iteratorover 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-CustomAttributeFilterto remove
-
customAttributeFilterIterator
public java.util.Iterator<CustomAttributeFilter> customAttributeFilterIterator()
Returns anIteratorover allCustomAttributeFilter.- Returns:
Iteratorover 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.
-
-