public class SwitchingScanner extends Object implements com.atlassian.plugin.loaders.classloading.Scanner
scan()
method
after a switch.Constructor and Description |
---|
SwitchingScanner(com.atlassian.plugin.loaders.classloading.Scanner originalScanner,
com.atlassian.plugin.loaders.classloading.Scanner alternateScanner) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.plugin.loaders.classloading.Scanner |
getActiveScanner() |
Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> |
getDeploymentUnits() |
boolean |
isAlternate() |
void |
remove(com.atlassian.plugin.loaders.classloading.DeploymentUnit unit) |
void |
reset() |
Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> |
scan() |
void |
switchTo(boolean alternate) |
public SwitchingScanner(com.atlassian.plugin.loaders.classloading.Scanner originalScanner, com.atlassian.plugin.loaders.classloading.Scanner alternateScanner)
public com.atlassian.plugin.loaders.classloading.Scanner getActiveScanner()
public boolean isAlternate()
public void switchTo(boolean alternate)
public Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> scan()
scan
in interface com.atlassian.plugin.loaders.classloading.Scanner
public Collection<com.atlassian.plugin.loaders.classloading.DeploymentUnit> getDeploymentUnits()
getDeploymentUnits
in interface com.atlassian.plugin.loaders.classloading.Scanner
public void reset()
reset
in interface com.atlassian.plugin.loaders.classloading.Scanner
public void remove(com.atlassian.plugin.loaders.classloading.DeploymentUnit unit) throws com.atlassian.plugin.PluginException
remove
in interface com.atlassian.plugin.loaders.classloading.Scanner
com.atlassian.plugin.PluginException
Copyright © 2002-2024 Atlassian. All Rights Reserved.