public class EvaluableUsageCredentialCriteria extends Object implements EvaluableCredentialCriteria
コンストラクタと説明 |
---|
EvaluableUsageCredentialCriteria(UsageCriteria criteria)
Constructor.
|
EvaluableUsageCredentialCriteria(UsageType newUsage)
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
Boolean |
evaluate(Credential target)
Evaluate the target.
|
protected boolean |
matchUsage(UsageType credentialUsage,
UsageType criteriaUsage)
Match usage enum type values from credential and criteria.
|
public EvaluableUsageCredentialCriteria(UsageCriteria criteria)
criteria
- the criteria which is the basis for evaluationpublic EvaluableUsageCredentialCriteria(UsageType newUsage)
newUsage
- the criteria value which is the basis for evaluationpublic Boolean evaluate(Credential target)
Boolean.TRUE
if the target satisfies the criteriaBoolean.FALSE
if the target does not satisfy criterianull
if the target can not be evaluated against the criteriaevaluate
インタフェース内 EvaluableCriteria<Credential>
target
- the object to be evaluatedprotected boolean matchUsage(UsageType credentialUsage, UsageType criteriaUsage)
credentialUsage
- the usage value from the credentialcriteriaUsage
- the usage value from the criteriaCopyright © 2012. All Rights Reserved.