public final class IdleMessage extends Object
Constructor and Description |
---|
IdleMessage(String componentName,
String reason,
boolean isIdle) |
public IdleMessage(String componentName, String reason, boolean isIdle)
componentName
- the name of the component that is indicating (not) idle, e.g. "Clock"reason
- the human-readable reason the component indicates (not) idle, "No more alarms scheduled."isIdle
- whether or not the component is idle.public String getComponentName()
public boolean isIdle()
Copyright © 2017 The Apache Software Foundation. All rights reserved.