congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
DescribableList.setOwner
Code IndexAdd Tabnine to your IDE (free)

How to use
setOwner
method
in
hudson.util.DescribableList

Best Java code snippets using hudson.util.DescribableList.setOwner (Showing top 20 results out of 315)

origin: jenkinsci/jenkins

private Object readResolve() {
  authenticators.setOwner(this);
  return this;
}
origin: jenkinsci/jenkins

private Object readResolve() {
  artifactManagerFactories.setOwner(this);
  return this;
}
origin: jenkinsci/jenkins

public DescribableList(Saveable owner, Collection<? extends T> initialList) {
  super(initialList);
  setOwner(owner);
}
origin: jenkinsci/jenkins

public DescribableList(Saveable owner) {
  setOwner(owner);
}
origin: jenkinsci/jenkins

/**
 * @deprecated since 2008-08-15.
 *      Use {@link #DescribableList(Saveable)} 
 */
@Deprecated
public DescribableList(Owner owner) {
  setOwner(owner);
}
origin: jenkinsci/jenkins

@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
  super.onLoad(parent, name);
  getBuildersList().setOwner(this);
  getPublishersList().setOwner(this);
  getBuildWrappersList().setOwner(this);
}
origin: jenkinsci/jenkins

/**
 * Gets the view properties configured for this view.
 * @since 1.406
 */
public DescribableList<ViewProperty,ViewPropertyDescriptor> getProperties() {
  // readResolve was the best place to do this, but for compatibility reasons,
  // this class can no longer have readResolve() (the mechanism itself isn't suitable for class hierarchy)
  // see JENKINS-9431
  //
  // until we have that, putting this logic here.
  synchronized (PropertyList.class) {
    if (properties == null) {
      properties = new PropertyList(this);
    } else {
      properties.setOwner(this);
    }
    return properties;
  }
}
origin: jenkinsci/jenkins

public void load() {
  XmlFile file = getConfigFile();
  if(file.exists()) {
    try {
      file.unmarshal(this);
    } catch (IOException e) {
      LOGGER.log(Level.WARNING, "Failed to load "+file, e);
    }
  }
  properties.setOwner(this);
  updateTransientActions();
}
origin: jenkinsci/jenkins

@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
  super.onLoad(parent, name);
  if (buildMixIn == null) {
    buildMixIn = createBuildMixIn();
  }
  buildMixIn.onLoad(parent, name);
  builds = buildMixIn.getRunMap();
  triggers().setOwner(this);
  for (Trigger t : triggers()) {
    try {
      t.start(this, Items.currentlyUpdatingByXml());
    } catch (Throwable e) {
      LOGGER.log(Level.WARNING, "could not start trigger while loading project '" + getFullName() + "'", e);
    }
  }
  if(scm==null)
    scm = new NullSCM(); // perhaps it was pointing to a plugin that no longer exists.
  if(transientActions==null)
    transientActions = new Vector<Action>();    // happens when loaded from disk
  updateTransientActions();
}
origin: org.eclipse.hudson.main/hudson-core

/**
 * @deprecated since 2008-08-15.
 *      Use {@link #DescribableList(Saveable)} 
 */
public DescribableList(Owner owner) {
  setOwner(owner);
}
origin: org.jenkins-ci.main/jenkins-core

/**
 * @deprecated since 2008-08-15.
 *      Use {@link #DescribableList(Saveable)} 
 */
@Deprecated
public DescribableList(Owner owner) {
  setOwner(owner);
}
origin: org.jenkins-ci.plugins/matrix-project

@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
  super.onLoad(parent,name);
  builders.setOwner(this);
  publishers.setOwner(this);
  buildWrappers.setOwner(this);
  if (executionStrategy ==null)
    executionStrategy = new DefaultMatrixExecutionStrategyImpl(runSequentially != null ? runSequentially : false, touchStoneCombinationFilter, touchStoneResultCondition, sorter);
  rebuildConfigurations(null);
}
origin: org.jvnet.hudson.main/hudson-core

@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
  super.onLoad(parent, name);
  getBuildersList().setOwner(this);
  getPublishersList().setOwner(this);
  getBuildWrappersList().setOwner(this);
}
origin: org.jenkins-ci.main/jenkins-core

@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
  super.onLoad(parent, name);
  getBuildersList().setOwner(this);
  getPublishersList().setOwner(this);
  getBuildWrappersList().setOwner(this);
}
origin: org.eclipse.hudson/hudson-core

@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
  super.onLoad(parent, name);
  getBuildersList().setOwner(this);
  getPublishersList().setOwner(this);
  getBuildWrappersList().setOwner(this);
}
origin: org.eclipse.hudson.main/hudson-core

@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
  super.onLoad(parent, name);
  getBuildersList().setOwner(this);
  getPublishersList().setOwner(this);
  getBuildWrappersList().setOwner(this);
}
origin: org.jenkins-ci.plugins/ivy

@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
  super.onLoad(parent, name);
  if (publishers == null)
    publishers = new DescribableList<Publisher, Descriptor<Publisher>>(this);
  publishers.setOwner(this);
  if (dependencies == null) {
    dependencies = Collections.emptySet();
  }
}
origin: org.hudsonci.plugins/ivy

@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
  super.onLoad(parent, name);
  if (publishers == null)
    publishers = new DescribableList<Publisher, Descriptor<Publisher>>(this);
  publishers.setOwner(this);
  if (dependencies == null) {
    dependencies = Collections.emptySet();
  }
}
origin: org.jvnet.hudson.main/hudson-core

public void load() {
  XmlFile file = getConfigFile();
  if(file.exists()) {
    try {
      file.unmarshal(this);
    } catch (IOException e) {
      LOGGER.log(Level.WARNING, "Failed to load "+file, e);
    }
  }
  properties.setOwner(this);
  updateTransientActions();
}
origin: org.jenkins-ci.main/jenkins-core

public void load() {
  XmlFile file = getConfigFile();
  if(file.exists()) {
    try {
      file.unmarshal(this);
    } catch (IOException e) {
      LOGGER.log(Level.WARNING, "Failed to load "+file, e);
    }
  }
  properties.setOwner(this);
  updateTransientActions();
}
hudson.utilDescribableListsetOwner

Popular methods of DescribableList

  • get
  • toList
  • add
  • <init>
  • rebuild
  • remove
  • getAll
  • toMap
    Creates a detached map from the current snapshot of the data, keyed from a descriptor to an instance
  • buildDependencyGraph
    Picks up DependecyDeclarers and allow it to build dependencies.
  • rebuildHetero
    Rebuilds the list by creating a fresh instances from the submitted form. This version works with the
  • addAll
  • isEmpty
  • addAll,
  • isEmpty,
  • replace,
  • replaceBy,
  • addAllTo,
  • removeAll,
  • size,
  • onModified,
  • clear

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JButton (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now