public interface IMixinPlatformAgent
Platform Agents handle mixin environment tasks on a per-container basis, with each container in the environment being assigned one of each available type of agent to handle those tasks on behalf of the container.
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(MixinPlatformManager manager,
IContainerHandle handle)
Accept and bind to a container handle.
|
java.lang.String |
getPhaseProvider()
Get the phase provider for this agent
|
void |
initPrimaryContainer()
Called from inject in the parent tweaker but only called on
the primary tweak container.
|
void |
inject()
Called from inject in the parent tweaker
|
void |
prepare()
Called during pre-initialisation, after all tweakers and tweak containers
have been added to the environment.
|
boolean accept(MixinPlatformManager manager, IContainerHandle handle)
MixinContainer and the agent should react accordingly.
If the agent is not able to delegate for container handles of
the supplied type, this method should return false to indicate
that the agent should not be added for this container.manager - platform manager instancehandle - handle to containerjava.lang.String getPhaseProvider()
void prepare()
void initPrimaryContainer()
void inject()