public class RoleInputSource extends LogicalSource
SourceI.ExceptionalConsumer<I,E extends java.lang.Throwable>, SourceI.ExceptionalFunction<I,O,E extends java.lang.Throwable>, SourceI.SourceIHandler<OUT>| Constructor and Description |
|---|
RoleInputSource(RoleInput roleInput) |
RoleInputSource(java.lang.String role) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ActionSource |
getActionSource(LogicalSourceContext context)
Resolves this source to an action source, potentially using the given
logical source context, if necessary.
|
java.lang.String |
getRole() |
boolean |
isRoleDefined() |
protected void |
onContextSet()
This method should be overriden to initialize any state that depends on the class-based context for the source
|
java.lang.String |
toString() |
isLogicalSourceaccept, apply, getContextClass, setContextClasspublic RoleInputSource(java.lang.String role)
public RoleInputSource(RoleInput roleInput)
protected void onContextSet()
SourceIonContextSet in class SourceIpublic boolean isRoleDefined()
public java.lang.String getRole()
public ActionSource getActionSource(LogicalSourceContext context)
LogicalSourcegetActionSource in class LogicalSourcecontext - the logical source context that contains this sourcepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object