public void addStartSagaAnnotation(final Class<? extends Annotation> annotationClass) {
        Objects.requireNonNull(annotationClass, "The type of annotation is not allowed to be null");
        startSagaAnnotations.add(annotationClass);
    }
public void addStartSagaAnnotation ( final Class < ? extends Annotation > annotationClass ) { Objects . requireNonNull ( annotationClass , "The type of annotation is not allowed to be null" ) ; startSagaAnnotations . add ( annotationClass ) ; }
Adds a custom annotation to be used when scanning for methods
starting a new saga. By default the {@link com.codebullets.sagalib.StartsSaga} annotation
will be used.