@ExportedBean public abstract class OfflineCause extends Object
OfflineCause must have cause.jelly that renders a cause
into HTML. This is used to tell users why the node is put offline.
This view should render a block element like DIV.
| Modifier and Type | Class and Description |
|---|---|
static class |
OfflineCause.ByCLI |
static class |
OfflineCause.ChannelTermination
Caused by unexpected channel termination.
|
static class |
OfflineCause.IdleOfflineCause
Caused by idle period.
|
static class |
OfflineCause.LaunchFailed
Caused by failure to launch.
|
static class |
OfflineCause.SimpleOfflineCause
OfflineCause that renders a static text,
but without any further UI. |
static class |
OfflineCause.UserCause
Taken offline by user.
|
| Modifier and Type | Field and Description |
|---|---|
protected long |
timestamp |
| Constructor and Description |
|---|
OfflineCause() |
| Modifier and Type | Method and Description |
|---|---|
static OfflineCause |
create(org.jvnet.localizer.Localizable d) |
Date |
getTime()
Same as
getTimestamp() but in a different type. |
long |
getTimestamp()
Timestamp in which the event happened.
|
@Exported public long getTimestamp()
@Nonnull public final Date getTime()
getTimestamp() but in a different type.public static OfflineCause create(org.jvnet.localizer.Localizable d)
Copyright © 2019. All rights reserved.