Class Parameter

All Implemented Interfaces:
CapybaraPortingLayer, Control.Owner, PageArea
Direct Known Subclasses:
LabelParameter, NodeParameter, PasswordParameter, StringParameter, TextParameter

public abstract class Parameter extends PageAreaImpl
Parameter for builds.

Use Describable annotation to register an implementation.

Author:
Kohsuke Kawaguchi
  • Field Details

    • job

      public final Job job
  • Constructor Details

    • Parameter

      public Parameter(Job job, String path)
  • Method Details

    • getName

      public String getName()
    • setName

      public Parameter setName(String name)
    • setDescription

      public Parameter setDescription(String v)
    • setDefault

      public Parameter setDefault(String value)
    • fillWith

      public abstract void fillWith(Object v)
      Given an subtype-specific value object that represents the actual argument, fill in the parameterized build form.
    • path

      public org.openqa.selenium.By path(String rel)
      Depending on whether we are on the config page or in the build page, this is different.
      Specified by:
      path in interface Control.Owner
      Specified by:
      path in interface PageArea
      Overrides:
      path in class PageAreaImpl