Class RepositoryConnection.ThrottleItem
- java.lang.Object
-
- org.apache.manifoldcf.crawler.repository.RepositoryConnection.ThrottleItem
-
- Enclosing class:
- RepositoryConnection
protected static class RepositoryConnection.ThrottleItem extends java.lang.ObjectThrottle item class. Each instance describes a particular throttle.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringdescriptionThe description.protected java.lang.StringmatchThe regexp key.protected floatvalueThe throttle value
-
Constructor Summary
Constructors Constructor Description ThrottleItem(java.lang.String match, java.lang.String description, float value)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Compare.java.lang.StringgetDescription()Get the description.java.lang.StringgetMatch()Get the match.floatgetValue()Get the throttle value.inthashCode()Get the hash code.
-
-
-
Method Detail
-
getMatch
public java.lang.String getMatch()
Get the match.
-
getDescription
public java.lang.String getDescription()
Get the description.
-
getValue
public float getValue()
Get the throttle value.
-
hashCode
public int hashCode()
Get the hash code.- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
Compare.- Overrides:
equalsin classjava.lang.Object
-
-