|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archive.crawler.settings.Constraint.FailedCheck
public class Constraint.FailedCheck
Objects of this class represents failed constraint checks.
Field Summary | |
---|---|
protected java.util.ArrayList<java.lang.Object> |
messageArguments
|
Constructor Summary | |
---|---|
Constraint.FailedCheck(CrawlerSettings settings,
ComplexType owner,
Type definition,
java.lang.Object value)
Construct a new FailedCheck object using the constraints default message. |
|
Constraint.FailedCheck(CrawlerSettings settings,
ComplexType owner,
Type definition,
java.lang.Object value,
java.lang.String msg)
Construct a new FailedCheck object. |
Method Summary | |
---|---|
Type |
getDefinition()
Get the definition for the checked attribute. |
java.util.logging.Level |
getLevel()
Get the severity level. |
java.lang.String |
getMessage()
Get the error message. |
ComplexType |
getOwner()
Get the ComplexType owning the checked attribute. |
CrawlerSettings |
getSettings()
Get the CrawlerSettings for the checked attribute. |
java.lang.Object |
getValue()
Get the value of the checked attribute. |
java.lang.String |
toString()
Returns a human readeable string for the failed check. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final java.util.ArrayList<java.lang.Object> messageArguments
Constructor Detail |
---|
public Constraint.FailedCheck(CrawlerSettings settings, ComplexType owner, Type definition, java.lang.Object value, java.lang.String msg)
settings
- the CrawlerSettings object for which this check was
executed.owner
- the ComplexType owning the attribute to check.definition
- the definition to check the attribute against.value
- the value to check.msg
- a message describing what went wrong and possibly hints to
the user on how to fix it.public Constraint.FailedCheck(CrawlerSettings settings, ComplexType owner, Type definition, java.lang.Object value)
settings
- the CrawlerSettings object for which this check was
executed.owner
- the ComplexType owning the attribute to check.definition
- the definition to check the attribute against.value
- the value to check.Method Detail |
---|
public java.lang.String getMessage()
public java.util.logging.Level getLevel()
public Type getDefinition()
public java.lang.Object getValue()
public ComplexType getOwner()
ComplexType
owning the checked attribute.
ComplexType
owning the checked attribute.public CrawlerSettings getSettings()
CrawlerSettings
for the checked attribute.
CrawlerSettings
for the checked attribute.public java.lang.String toString()
getMessage()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |