net.shibboleth.metadata
Class WarningStatus

java.lang.Object
  extended by net.shibboleth.metadata.StatusMetadata
      extended by net.shibboleth.metadata.WarningStatus
All Implemented Interfaces:
Serializable, ItemMetadata

public class WarningStatus
extends StatusMetadata

A type of StatusMetadata that indicates something may be "off" about the Item. This warning message is stronger than the informational message that would be carried by a InfoStatus but does not necessarily indicate an actual defect in the Item. One use of this status would be if a Stage thinks something about the Item may be wrong but does not have enough information to verify it.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Serial version UID.
 
Constructor Summary
WarningStatus(String componentId, String statusMessage)
          Constructor.
 
Method Summary
 
Methods inherited from class net.shibboleth.metadata.StatusMetadata
getComponentId, getStatusMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values
Constructor Detail

WarningStatus

public WarningStatus(@Nonnull@NotEmpty
                     String componentId,
                     @Nonnull@NotEmpty
                     String statusMessage)
Constructor.

Parameters:
componentId - ID of the component creating the status message, never null or empty
statusMessage - the status message, never null or empty


Copyright © 1999-2012. All Rights Reserved.