package au.com.dius.pact.provider.junit; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Used to mark methods that should be run on state change */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) public @interface State { /** * @return list of state names */ String[] value(); }