Atavism Version 2018.1AGIS API

atavism.server.engine
Class EnginePlugin.SubObjData

java.lang.Object
  extended by atavism.server.engine.EnginePlugin.SubObjData
Enclosing class:
EnginePlugin

public static class EnginePlugin.SubObjData
extends java.lang.Object

Returned by GenerateSubObject hook's generateSubObject() method. This is not thread safe.


Field Summary
 Hook dependencyHook
          The hook called when each dependency is satisfied.
 
Constructor Summary
EnginePlugin.SubObjData()
          No-arg constructor, used if there are no Namespace dependencies.
EnginePlugin.SubObjData(java.util.LinkedList<Namespace> namespaces, Hook dependencyHook)
          Constructor used in the case there are multiple Namespace dependencies.
EnginePlugin.SubObjData(Namespace namespace, Hook dependencyHook)
          Constructor used in the case there is a single Namespace dependency.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dependencyHook

public Hook dependencyHook
The hook called when each dependency is satisfied.

Constructor Detail

EnginePlugin.SubObjData

public EnginePlugin.SubObjData()
No-arg constructor, used if there are no Namespace dependencies.


EnginePlugin.SubObjData

public EnginePlugin.SubObjData(Namespace namespace,
                               Hook dependencyHook)
Constructor used in the case there is a single Namespace dependency.

Parameters:
namespace - The Namespace dependency.
dependencyHook - The hook to call when the dependency is satisfied.

EnginePlugin.SubObjData

public EnginePlugin.SubObjData(java.util.LinkedList<Namespace> namespaces,
                               Hook dependencyHook)
Constructor used in the case there are multiple Namespace dependencies.

Parameters:
namespaces - The Namespace dependency list.
dependencyHook - The hook to call when each dependency is satisfied.


Copyright © 2018 Dragonsan Studios Sp. z o.o.