Java 类hudson.model.listeners.SaveableListener 实例源码

项目:github-integration-plugin    文件:GitHubRepository.java   
@Override
public synchronized void save() throws IOException {
    if (BulkChange.contains(this)) {
        return;
    }

    configFile.write(this);
    SaveableListener.fireOnChange(this, configFile);
}
项目:jenkins-kubernetes-plugin    文件:PodTemplateMap.java   
/**
 * Saves the configuration info to the disk.
 */
public synchronized void save() {
    if(BulkChange.contains(this))   return;
    try {
        getConfigFile().write(this);
        SaveableListener.fireOnChange(this, getConfigFile());
    } catch (IOException e) {
        LOGGER.log(Level.WARNING, "Failed to save "+getConfigFile(),e);
    }
}
项目:docker-traceability-plugin    文件:DockerTraceabilityRootAction.java   
@Override
public void save() throws IOException {
    if(BulkChange.contains(this))   return;
    getConfigFile().write(this);
    SaveableListener.fireOnChange(this, getConfigFile());
}
项目:rabbitmq-consumer-plugin    文件:SaveableListenerImpl.java   
/**
 * Gets instance of this extension.
 * 
 * @return the instance of this extension.
 */
public static SaveableListenerImpl get() {
    return SaveableListener.all().get(SaveableListenerImpl.class);
}