public static Selector anySNSMessageSelector() { return Selectors.type(SNSMessage.class); }
public static Selector anySQSMessage() { return Selectors.type(SQSMessage.class); }
public static Selector anyKinesisRecord() { return Selectors.type(KinesisRecord.class); }
/** * A short-hand alias for {@link Selectors#type(Class)}. * <p/> * Creates a {@link Selector} based on the given class type that matches objects whose type is * assignable according to {@link Class#isAssignableFrom(Class)}. * * @param supertype * The supertype to compare. * * @return The new {@link ClassSelector}. * * @see ClassSelector */ public static ClassSelector T(Class<?> supertype) { return type(supertype); }