Class RemoteAddeEntry.Builder

java.lang.Object
edu.wisc.ssec.mcidasv.servermanager.RemoteAddeEntry.Builder
Enclosing class:
RemoteAddeEntry

public static class RemoteAddeEntry.Builder extends Object
Something of a hack... this approach allows us to build a RemoteAddeEntry in a readable way, despite there being multiple final fields.

The only required parameters are the RemoteAddeEntry.address and RemoteAddeEntry.group.

Some examples:

 RemoteAddeEntry e = RemoteAddeEntry.Builder("adde.cool.com", "RTIMAGES").build();
 e = RemoteAddeEntry.Builder("adde.cool.com", "RTIMAGES").type(EntryType.IMAGE).account("user", "1337").build();
 e = RemoteAddeEntry.Builder("adde.cool.com", "RTIMAGES").account("user", "1337").type(EntryType.IMAGE).build()
 e = RemoteAddeEntry.Builder("a.c.com", "RTIMGS").validity(EntryValidity.VERIFIED).build();