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 RemoteAddeEntryprivate RemoteEntryEditor.AddeStatusCurrent "status" ofentry. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntry()Returns theRemoteAddeEntrystored in this wrapper.Returns the current "status" ofentry.voidSet the "status" of thisentryto a givenRemoteEntryEditor.AddeStatus.
-
Field Details
-
entry
-
status
Current "status" ofentry.
-
-
Constructor Details
-
StatusWrapper
Builds an entry/status pairing.- Parameters:
entry- TheRemoteAddeEntryto wrap up.- Throws:
NullPointerException- ifentryisnull.
-
-
Method Details
-
setStatus
Set the "status" of thisentryto a givenRemoteEntryEditor.AddeStatus.- Parameters:
status- New status ofentry.
-
getStatus
Returns the current "status" ofentry.- Returns:
- One of
RemoteEntryEditor.AddeStatus.
-
getEntry
Returns theRemoteAddeEntrystored in this wrapper.- Returns:
entry
-