@ThreadSafe public class SetValidUntilStage extends BaseIteratingStage<Element>
This stage requires the following properties be set prior to initialization:
validityDuration| Modifier and Type | Field and Description |
|---|---|
private long |
validityDuration
Amount of time the descriptors will be valid, expressed in milliseconds.
|
| Constructor and Description |
|---|
SetValidUntilStage() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doExecute(Item<Element> item)
Processes a given Item.
|
protected void |
doInitialize() |
long |
getValidityDuration()
Gets the amount of time the descriptors will be valid, expressed in milliseconds.
|
void |
setValidityDuration(long duration)
Sets the amount of time the descriptors will be valid, expressed in milliseconds.
|
doExecuteexecute, getCollectionPredicate, setCollectionPredicatesetIdgetIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyed@Duration private long validityDuration
public long getValidityDuration()
public void setValidityDuration(@Duration@Positive
long duration)
duration - amount of time the descriptors will be valid, expressed in millisecondsprotected boolean doExecute(@Nonnull Item<Element> item) throws StageProcessingException
doExecute in class BaseIteratingStage<Element>item - Item on which to operateStageProcessingException - thrown if there is a problem with the stage processingprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionCopyright © 1999–2016. All rights reserved.