Class RemoteEntryEditor.StatusWrapper
java.lang.Object
edu.wisc.ssec.mcidasv.servermanager.RemoteEntryEditor.StatusWrapper
- Enclosing class:
RemoteEntryEditor
Associates a
RemoteAddeEntry
with one of the states from
RemoteEntryEditor.AddeStatus
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RemoteAddeEntry
private RemoteEntryEditor.AddeStatus
Current "status" ofentry
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntry()
Returns theRemoteAddeEntry
stored in this wrapper.Returns the current "status" ofentry
.void
Set the "status" of thisentry
to a givenRemoteEntryEditor.AddeStatus
.
-
Field Details
-
entry
-
status
Current "status" ofentry
.
-
-
Constructor Details
-
StatusWrapper
Builds an entry/status pairing.- Parameters:
entry
- TheRemoteAddeEntry
to wrap up.- Throws:
NullPointerException
- ifentry
isnull
.
-
-
Method Details
-
setStatus
Set the "status" of thisentry
to a givenRemoteEntryEditor.AddeStatus
.- Parameters:
status
- New status ofentry
.
-
getStatus
Returns the current "status" ofentry
.- Returns:
- One of
RemoteEntryEditor.AddeStatus
.
-
getEntry
Returns theRemoteAddeEntry
stored in this wrapper.- Returns:
entry
-