Enum Class ModoAgendamentoEnum

java.lang.Object
java.lang.Enum<ModoAgendamentoEnum>
systextil.bo.inte.gra.ModoAgendamentoEnum
All Implemented Interfaces:
Serializable, Comparable<ModoAgendamentoEnum>, Constable

public enum ModoAgendamentoEnum extends Enum<ModoAgendamentoEnum>
Como o GraRule.agendarProcesso(br.com.intersys.systextil.global.Mdi, int, int) agenda o ciclo da empresa na OPER_001 (design, 8.4).
  • Enum Constant Details

    • CICLO

      public static final ModoAgendamentoEnum CICLO
      Proximo ciclo da cadeia, daqui a um intervalo; havendo agendamento pendente, nao duplica. Usado pelo batch.
    • IMEDIATO

      public static final ModoAgendamentoEnum IMEDIATO
      O ciclo comeca agora (o agente batch o pega no minuto seguinte): salvar a configuracao ativa, clonar e o /agendar com ela ativa. O pendente vem para agora; sem pendente, cria. Com um ciclo em execucao, nao mexe: o fim dele ja agenda o proximo.
    • EXECUCAO_UNICA

      public static final ModoAgendamentoEnum EXECUCAO_UNICA
      "Executar uma vez" com a configuracao inativa: execucao imediata que o batch processa sem reagendar.
  • Method Details

    • values

      public static ModoAgendamentoEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ModoAgendamentoEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null