Enum Class MobileEngineMemoryScope

Object
Enum<MobileEngineMemoryScope>
MobileEngineMemoryScope
All Implemented Interfaces:
Serializable, Comparable<MobileEngineMemoryScope>, Constable

public enum MobileEngineMemoryScope extends Enum<MobileEngineMemoryScope>
A engine mobile, possui escopos de memoria para execucao de scripts. Alguns dados do processo podem ser necessarios para execucao de tarefas, e nestes casos podem ser injetados convenientemente dentro de espacos acessiveis nos scripts. Esta enumeracao preve os tipos disponieveis. Note que nem todo tipo de carga pode ser feito em todos os tipos de escopos, principalmente os mais restritos O unico escopo sempre disponivel e o escopo global da engine.
Author:
Eduardo Frazao
  • Enum Constant Details

    • NONE

      public static final MobileEngineMemoryScope NONE
      Nenhum escopo, ou seja, sem efeito pratico
    • SCRIPT_SCOPE

      public static final MobileEngineMemoryScope SCRIPT_SCOPE
      Script especifico do script em questao
    • ENGINE_GLOBAL_SCOPE

      public static final MobileEngineMemoryScope ENGINE_GLOBAL_SCOPE
      Escopo global da engine, que e compartilhado entre todos os scripts
  • Method Details

    • values

      public static MobileEngineMemoryScope[] 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 MobileEngineMemoryScope 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