Class ImpersonationRunner

  • All Implemented Interfaces:
    groovy.lang.GroovyObject, org.springframework.boot.CommandLineRunner, org.springframework.core.Ordered

    @Slf4j
    @Component
    public class ImpersonationRunner
    extends AbstractOrderedCommandLineRunner
    • Field Detail

      • IMPERSONATION_CONFIG_FILE_NAME

        protected static final java.lang.String IMPERSONATION_CONFIG_FILE_NAME
        See Also:
        Constant Field Values
      • IMPERSONATION_CONFIG_PETRI_NET_IDENTIFIER

        public static final java.lang.String IMPERSONATION_CONFIG_PETRI_NET_IDENTIFIER
        See Also:
        Constant Field Values
      • IMPERSONATION_CONFIG_USER_SELECT_FILE_NAME

        protected static final java.lang.String IMPERSONATION_CONFIG_USER_SELECT_FILE_NAME
        See Also:
        Constant Field Values
      • IMPERSONATION_CONFIG_USER_SELECT_PETRI_NET_IDENTIFIER

        public static final java.lang.String IMPERSONATION_CONFIG_USER_SELECT_PETRI_NET_IDENTIFIER
        See Also:
        Constant Field Values
    • Constructor Detail

      • ImpersonationRunner

        public ImpersonationRunner()
    • Method Detail

      • run

        public void run​(java.lang.String... args)
                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createConfigNets

        public void createConfigNets()
      • importProcess

        public java.util.Optional<PetriNet> importProcess​(java.lang.String message,
                                                          java.lang.String netIdentifier,
                                                          java.lang.String netFileName)