public static SagaType continueSaga(final Class<? extends Saga> sagaClass) {
        checkNotNull(sagaClass, "The type of the saga has to be defined.");

        SagaType sagaType = new SagaType();
        sagaType.startsNew = false;
        sagaType.sagaClass = sagaClass;

        return sagaType;
    }
public static SagaType continueSaga ( final Class < ? extends Saga > sagaClass ) { checkNotNull ( sagaClass , "The type of the saga has to be defined." ) ; SagaType sagaType = new SagaType ( ) ; sagaType . startsNew = false ; sagaType . sagaClass = sagaClass ; return sagaType ; }
Creates a type continuing a saga with an instance key that has yet to be defined.