public class LocalAddeEntry extends Object implements AddeEntry
| Modifier and Type | Class and Description |
|---|---|
static class |
LocalAddeEntry.AddeFormat
The various kinds of local ADDE data understood by McIDAS-V, along with
some helpful metadata.
|
static class |
LocalAddeEntry.Builder |
static class |
LocalAddeEntry.ServerName |
AddeEntry.EditorAction, AddeEntry.EntrySource, AddeEntry.EntryStatus, AddeEntry.EntryType, AddeEntry.EntryValidity| Modifier and Type | Field and Description |
|---|---|
private String |
asStringId |
private static String |
CYGWIN_PREFIX |
private static int |
CYGWIN_PREFIX_LEN |
private String |
descriptor
N2
|
private String |
end
R2
|
private AddeEntry.EntryStatus |
entryStatus |
private String |
fileMask
MASK
|
private LocalAddeEntry.AddeFormat |
format
MCV
|
private String |
group
N1
|
static List<LocalAddeEntry> |
INVALID_ENTRIES |
static LocalAddeEntry |
INVALID_ENTRY
Represents a "bad" local ADDE entry.
|
(package private) static org.slf4j.Logger |
logger |
private String |
name
C
|
private boolean |
realtime
RT
|
private String |
start
R1
|
DEFAULT_ACCOUNT| Modifier | Constructor and Description |
|---|---|
private |
LocalAddeEntry(LocalAddeEntry.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
String |
asStringId()
Currently used as a identifier for convenient storage by the server
manager.
|
boolean |
equals(Object obj) |
AddeAccount |
getAccount()
Accounting information associated with the current entry.
|
String |
getAddress()
Address of the server associated with the current entry.
|
String |
getDescriptor() |
String |
getEnd() |
String |
getEntryAlias() |
AddeEntry.EntrySource |
getEntrySource()
Source that specified this entry.
|
AddeEntry.EntryStatus |
getEntryStatus()
GUI status of the entry.
|
String |
getEntryText()
Handy
String representation of this ADDE entry. |
AddeEntry.EntryType |
getEntryType()
Type of chooser this entry should appear under.
|
AddeEntry.EntryValidity |
getEntryValidity()
Does this entry represent a "valid" ADDE server.
|
String |
getFileMask() |
LocalAddeEntry.AddeFormat |
getFormat() |
String |
getGroup()
Dataset/group located on the server.
|
String |
getMask() |
String |
getName() |
boolean |
getRealtime() |
String |
getRealtimeAsString() |
String |
getStart() |
int |
hashCode() |
boolean |
isValid() |
void |
setEntryAlias(String newAlias) |
void |
setEntryStatus(AddeEntry.EntryStatus newStatus) |
String |
toString()
String representation of this entry.
|
static final org.slf4j.Logger logger
public static final LocalAddeEntry INVALID_ENTRY
public static final List<LocalAddeEntry> INVALID_ENTRIES
private static final String CYGWIN_PREFIX
private static final int CYGWIN_PREFIX_LEN
private AddeEntry.EntryStatus entryStatus
private final String descriptor
private final boolean realtime
private final LocalAddeEntry.AddeFormat format
private String asStringId
private LocalAddeEntry(LocalAddeEntry.Builder builder)
public AddeAccount getAccount()
AddeEntryAddeEntry.DEFAULT_ACCOUNT.getAccount in interface AddeEntrypublic String getAddress()
AddeEntryLocalAddeEntrys will return localhost.getAddress in interface AddeEntrypublic AddeEntry.EntrySource getEntrySource()
AddeEntrygetEntrySource in interface AddeEntrypublic AddeEntry.EntryStatus getEntryStatus()
AddeEntryAddeEntry.EntryValidity in that
EntryStatus controls this entry showing up in a chooser and has
nothing to do with whether or not the entry is a valid ADDE server.getEntryStatus in interface AddeEntrypublic String getEntryText()
AddeEntryString representation of this ADDE entry. Currently looks
like ADDRESS/GROUP, but this is subject to change.getEntryText in interface AddeEntrypublic AddeEntry.EntryType getEntryType()
AddeEntrygetEntryType in interface AddeEntrypublic AddeEntry.EntryValidity getEntryValidity()
AddeEntrygetEntryValidity in interface AddeEntrypublic String getEntryAlias()
getEntryAlias in interface AddeEntrypublic void setEntryAlias(String newAlias)
setEntryAlias in interface AddeEntrypublic void setEntryStatus(AddeEntry.EntryStatus newStatus)
setEntryStatus in interface AddeEntrypublic String getGroup()
AddeEntrypublic String getDescriptor()
public LocalAddeEntry.AddeFormat getFormat()
public String getFileMask()
public boolean getRealtime()
public boolean isValid()
public String getRealtimeAsString()
public String asStringId()
AddeEntryasStringId in interface AddeEntry