@Override public void onLoad(final ItemGroup<? extends hudson.model.Item> parent, final String name) throws IOException { initRepos(); super.onLoad(parent, name); }
@Override public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException { // directory name is not a name for us --- it's taken from the combination name super.onLoad(parent, combination.toString()); }
@Override public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException { // directory name is not a name for us --- it's taken from the combination name super.onLoad(parent, combination.toString()); }
@Override public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException { // directory name is not a name for us --- it's taken from the combination name super.onLoad(parent, combination.toString()); }
@Override public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException { // directory name is not a name for us --- it's taken from the combination name super.onLoad(parent, combination.toString()); }
@Override public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException { // directory name is not a name for us --- it's taken from the combination name super.onLoad(parent, combination.toString()); }
/** * This method restores transient fields that could not be deserialized. * Do note that there is no guaranteed order of deserialization, so * don't expect other objects to be present, when this method is called. */ @Override public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException { //Creating & clearing buffers, if necessary createBuffers(); clearBuffers(null); /* We need to create a dummy version store first, as we can't get the * project root directory before super() is executed (as no name is * set yet); but that one needs a version store available to load * certain values reliably without a null pointer access. */ this.versionStore = new VersionedObjectStore(); //Then loading the elements defined in the parent //TODO: What to do if a transient job is attempted to be loaded? super.onLoad(parent, name); //Loading the correct version store this.versionStore = this.loadVersionedObjectStore(); //And clearing the buffers again, as a new job with new props is available clearBuffers(null); }
/** * This method restores transient fields that could not be deserialized. * Do note that there is no guaranteed order of deserialization, so * don't expect other objects to be present, when this method is called. */ @Override public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException { //Creating & clearing buffers, if necessary createBuffers(); clearBuffers(null); /* We need to create a dummy version store first, as we can't get the * project root directory before super() is executed (as no name is * set yet); but that one needs a version store available to load * certain values reliably without a null pointer access. */ this.versionStore = new VersionedObjectStore(); //Then loading the elements defined in the parent //TODO: What to do if a transient job is attempted to be loaded? super.onLoad(parent, name); //Loading the correct version store this.versionStore = this.loadVersionedObjectStore(); //And clearing the buffers again, as a new job with new props is available clearBuffers(null); }