public class StringConstantActivityHealthChecker extends Object implements HealthChecker<StringConstantActivity>
Constructor and Description |
---|
StringConstantActivityHealthChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
canVisit(Object subject)
Returns true if the visitor can visit the specified object.
|
boolean |
isTimeConsuming()
An indication if the visit would take sufficient time that it should only
be run upon user request
|
VisitReport |
visit(StringConstantActivity activity,
List<Object> ancestors)
Visit an object which has the specified ancestry (list of parents) and
possibly return a VisitReport detailing the result of the visit.
|
public boolean canVisit(Object subject)
Visitor
canVisit
in interface Visitor<StringConstantActivity>
subject
- The object that might be visitedpublic VisitReport visit(StringConstantActivity activity, List<Object> ancestors)
Visitor
visit
in interface Visitor<StringConstantActivity>
activity
- The object to visitancestors
- A list of the ancestors of the object with the immediate
parent at the start of the list.public boolean isTimeConsuming()
Visitor
isTimeConsuming
in interface Visitor<StringConstantActivity>
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.