M - builds this target message class.B - message builder subclass. Needed to return the
correct builder type when setting fields. If this were not
the case, field chaining would not work.public abstract static class AbstractLogonMessage.Builder<M extends AbstractLogonMessage,B extends AbstractLogonMessage.Builder<M,?>> extends ESystemMessage.Builder<M,B>
AbstractLogonMessage builders.
Provides eBus identifier validation.mTargetClass| Modifier | Constructor and Description |
|---|---|
protected |
Builder(Class<? extends EMessageObject> targetClass) |
| Modifier and Type | Method and Description |
|---|---|
B |
eid(String eid)
Sets the eBus identifier to the given value.
|
protected void |
validate(List<String> problems)
Checks if the eBus identifier is configured.
|
subject, timestamp, timestampbuild, buildImplprotected Builder(Class<? extends EMessageObject> targetClass)
protected void validate(List<String> problems)
validate in class EMessage.Builder<M extends AbstractLogonMessage,B extends AbstractLogonMessage.Builder<M,?>>problems - list of message configuration
problems.public B eid(String eid)
eid - eBus identifier.this message builder.IllegalArgumentException - if eid is null or empty.Copyright © 2019. All rights reserved.