public class SplitRecipientSpecification extends Object implements RecipientSpecification
RemotePartSpecification
and its local part matches the
supplied LocalPartSpecification
. This specification never matches the
global Postmaster address, because that has no remote part.Constructor and Description |
---|
SplitRecipientSpecification() |
Modifier and Type | Method and Description |
---|---|
LocalPartSpecification |
getLocalPartSpecification() |
RemotePartSpecification |
getRemotePartSpecification() |
boolean |
isSatisfiedBy(Recipient recipient) |
void |
setLocalPartSpecification(LocalPartSpecification localPartSpecification) |
void |
setRemotePartSpecification(RemotePartSpecification remotePartSpecification) |
public boolean isSatisfiedBy(Recipient recipient)
isSatisfiedBy
in interface RecipientSpecification
public LocalPartSpecification getLocalPartSpecification()
public void setLocalPartSpecification(LocalPartSpecification localPartSpecification)
public RemotePartSpecification getRemotePartSpecification()
public void setRemotePartSpecification(RemotePartSpecification remotePartSpecification)