Enum Class MobileEngineMemoryScope
- All Implemented Interfaces:
Serializable,Comparable<MobileEngineMemoryScope>,Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEscopo global da engine, que e compartilhado entre todos os scriptsNenhum escopo, ou seja, sem efeito praticoScript especifico do script em questao -
Method Summary
Modifier and TypeMethodDescriptionstatic MobileEngineMemoryScopeReturns the enum constant of this class with the specified name.static MobileEngineMemoryScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Nenhum escopo, ou seja, sem efeito pratico -
SCRIPT_SCOPE
Script especifico do script em questao -
ENGINE_GLOBAL_SCOPE
Escopo global da engine, que e compartilhado entre todos os scripts
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-