本文整理汇总了Java中com.thoughtworks.go.plugin.api.info.PluginContext类的典型用法代码示例。如果您正苦于以下问题:Java PluginContext类的具体用法?Java PluginContext怎么用?Java PluginContext使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PluginContext类属于com.thoughtworks.go.plugin.api.info包,在下文中一共展示了PluginContext类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@Load
public void onLoad(PluginContext ctx) {
LOG.info("Loading plugin " + Util.pluginId() + " version " + Util.pluginVersion());
}
示例2: onLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@Load
public void onLoad(PluginContext context) {
logger.info("Creating a hasher.....");
HashFunction hashFunction = Hashing.md5();
hasher = hashFunction.newHasher();
}
示例3: onUnload
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@UnLoad
public void onUnload(PluginContext context) {
logger.info("Nothing to do here, please unload me.....");
}
示例4: onLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@Load
public void onLoad(PluginContext context) {
LOG.info("Docker plugin loaded");
}
示例5: onUnLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@UnLoad
public void onUnLoad(final PluginContext context) {
LOG.info("Removed Docker plugin" );
}
示例6: onLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@Load
public void onLoad(PluginContext context) {
logger.info("Boo");
System.out.println("Invalid Xml Plugin loaded");
}
示例7: onUnload
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@UnLoad
public void onUnload(PluginContext context) {
System.out.println("Plugin unloaded");
}
示例8: onLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@Load
public void onLoad(PluginContext context) {
logger.info("Boo");
System.out.println("Plugin with some plugin.xml values loaded");
}
示例9: onLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@Load
public void onLoad(PluginContext context) {
logger.info("onLoad");
}
示例10: duplicateLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@Load
public void duplicateLoad(PluginContext context) {
logger.info("duplicateLoad");
}
示例11: onLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@Load
public void onLoad(PluginContext context) {
logger.info("In Top Class");
System.out.println("ValidInnerClassPlugin loaded");
}
示例12: onUnload
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@UnLoad
public void onUnload(PluginContext context) {
System.out.println("ValidInnerClassPlugin unloaded");
}
示例13: onLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@Load
public void onLoad(PluginContext context) {
logger.info("ValidSubClass");
System.out.println("ValidSubClassPlugin loaded");
}
示例14: onUnload
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@UnLoad
public void onUnload(PluginContext context) {
System.out.println("ValidSubClassPlugin unloaded");
}
示例15: onLoad
import com.thoughtworks.go.plugin.api.info.PluginContext; //导入依赖的package包/类
@Load
public void onLoad(PluginContext context) {
logger.info("Boo");
System.out.println("Do Nothing Plugin loaded");
}