Uses of Class
de.xima.fc.common.bean_models.TimeDuration
-
Packages that use TimeDuration Package Description de.xima.fc.common.bean_models de.xima.fc.gui.bean de.xima.fc.validation.constraintvalidators de.xima.fc.workflow.model.nodes de.xima.fc.workflow.processor.factory -
-
Uses of TimeDuration in de.xima.fc.common.bean_models
Methods in de.xima.fc.common.bean_models that return TimeDuration Modifier and Type Method Description static TimeDuration
TimeDuration. of(Long duration, ETimeUnit unit)
Creates a new instance ofTimeDuration
with the given duration and unit of time.static TimeDuration
TimeDuration. ofDays(long duration)
Creates a new instance ofTimeDuration
with the given duration in days.static TimeDuration
TimeDuration. ofEmpty(ETimeUnit unit)
Creates a new instance ofTimeDuration
with no duration and the given unit of time.static TimeDuration
TimeDuration. ofHours(long duration)
Creates a new instance ofTimeDuration
with the given duration in hours.static TimeDuration
TimeDuration. ofMicroseconds(long duration)
Creates a new instance ofTimeDuration
with the given duration in microseconds.static TimeDuration
TimeDuration. ofMilliseconds(long duration)
Creates a new instance ofTimeDuration
with the given duration in milliseconds.static TimeDuration
TimeDuration. ofMinutes(long duration)
Creates a new instance ofTimeDuration
with the given duration in minutes.static TimeDuration
TimeDuration. ofNanoseconds(long duration)
Creates a new instance ofTimeDuration
with the given duration in nanoseconds.static TimeDuration
TimeDuration. ofSeconds(long duration)
Creates a new instance ofTimeDuration
with the given duration in seconds.static TimeDuration
TimeDuration. ofWeeks(long duration)
Creates a new instance ofTimeDuration
with the given duration in weeks.Methods in de.xima.fc.common.bean_models with parameters of type TimeDuration Modifier and Type Method Description int
TimeDuration. compareTo(TimeDuration that)
-
Uses of TimeDuration in de.xima.fc.gui.bean
Methods in de.xima.fc.gui.bean with parameters of type TimeDuration Modifier and Type Method Description String
TimeDurationBean. getMaxDurationValue(Long value, String unitName, TimeDuration target)
Gets the value for the max attribute of the component.String
TimeDurationBean. getMinDurationValue(Long value, String unitName, TimeDuration target)
Gets the value for the min attribute of the component.long
TimeDurationBean. updateDuration(TimeDuration duration, Map<String,Object> attrs)
Converts the duration to one of the available units when the current unit is not available. -
Uses of TimeDuration in de.xima.fc.validation.constraintvalidators
Methods in de.xima.fc.validation.constraintvalidators with parameters of type TimeDuration Modifier and Type Method Description boolean
MaxTimeDurationValidator. isValid(TimeDuration value, javax.validation.ConstraintValidatorContext context)
boolean
MinTimeDurationValidator. isValid(TimeDuration value, javax.validation.ConstraintValidatorContext context)
boolean
RequiredTimeDurationValidator. isValid(TimeDuration value, javax.validation.ConstraintValidatorContext context)
-
Uses of TimeDuration in de.xima.fc.workflow.model.nodes
Methods in de.xima.fc.workflow.model.nodes that return TimeDuration Modifier and Type Method Description TimeDuration
FcHttpRequestProps. getConnectTimeout()
Gets the connection timeout for the HTTP request.TimeDuration
FcHttpRequestProps. getReadTimeout()
Gets the read timeout for the HTTP request.Methods in de.xima.fc.workflow.model.nodes with parameters of type TimeDuration Modifier and Type Method Description void
FcHttpRequestProps. setConnectTimeout(TimeDuration connectTimeout)
sets the connection timeout for the HTTP request.void
FcHttpRequestProps. setReadTimeout(TimeDuration readTimeout)
sets the read timeout for the HTTP request. -
Uses of TimeDuration in de.xima.fc.workflow.processor.factory
Methods in de.xima.fc.workflow.processor.factory with parameters of type TimeDuration Modifier and Type Method Description IHttpRequestNodeBuilder
IHttpRequestNodeBuilder. connectTimeout(TimeDuration connectTimeout)
IHttpRequestNodeBuilder
IHttpRequestNodeBuilder. readTimeout(TimeDuration readTimeout)
-