Package org.sonatype.nexus.formfields

Examples of org.sonatype.nexus.formfields.StringTextFormField


    {
        super(
            TYPE,
            "APT: Configuration",
            "APT plugin configuration.",
            new StringTextFormField(
                AptCapabilityConfiguration.KEYRING,
                "Secure keyring location",
                "The location of the GNU PG secure keyring to be used for signing",
                FormField.OPTIONAL
            ),
            new StringTextFormField(
                AptCapabilityConfiguration.KEY,
                "Key ID",
                "ID of the key in the secure keyring to be used for signing",
                FormField.MANDATORY
            ),
            new StringTextFormField(
                AptCapabilityConfiguration.PASSPHRASE,
                "Passphrase for the key",
                "Passphrase for the key to be used for signing",
                FormField.MANDATORY
            )
View Full Code Here


  private final List<FormField> formFields;

  public SettingsCapabilityDescriptor() {
    formFields = Lists.<FormField>newArrayList(
        new StringTextFormField(
            SettingsCapabilityConfiguration.TITLE,
            messages.titleLabel(),
            messages.titleHelp(),
            FormField.MANDATORY
        ).withInitialValue(RaptureSettings.DEFAULT_TITLE),
View Full Code Here

  private final List<FormField> formFields;

  public RutAuthCapabilityDescriptor() {
    formFields = Lists.<FormField>newArrayList(
        new StringTextFormField(
            RutAuthCapabilityConfiguration.HTTP_HEADER,
            messages.httpHeaderLabel(),
            messages.httpHeaderHelp(),
            FormField.MANDATORY)
    );
View Full Code Here

            "Delete process delay",
            "Number of seconds to wait before regenerating Yum repository when an RPM is removed"
                + " (default 10 seconds)",
            FormField.OPTIONAL
        ).withInitialValue(10),
        new StringTextFormField(
            GenerateMetadataCapabilityConfiguration.YUM_GROUPS_DEFINITION_FILE,
            "Yum groups definition file",
            "Repository path of a file containing Yum groups definition (e.g. /comps.xml)",
            FormField.OPTIONAL
        )
View Full Code Here

            YumCapabilityConfiguration.MAX_NUMBER_PARALLEL_THREADS,
            messages.maxNumberParallelThreadsLabel(),
            messages.maxNumberParallelThreadsHelp(),
            FormField.OPTIONAL
        ).withInitialValue(10),
        new StringTextFormField(
            YumCapabilityConfiguration.CREATEREPO_PATH,
            messages.createrepoPathLabel(),
            messages.createrepoPathHelp(),
            FormField.OPTIONAL
        ),
        new StringTextFormField(
            YumCapabilityConfiguration.MERGEREPO_PATH,
            messages.mergerepoPathLabel(),
            messages.mergerepoPathHelp(),
            FormField.OPTIONAL
        )
View Full Code Here

  private final List<FormField> formFields;

  protected MessageCapabilityDescriptor() {
    formFields = Lists.<FormField>newArrayList(
        new RepositoryCombobox(REPOSITORY, FormField.MANDATORY),
        new StringTextFormField(MESSAGE, "Message", "Enter a message starting with XYZ", FormField.OPTIONAL, "XYZ.*"),
        new PasswordFormField(PASSWORD, "Password", "Enter an arbitrary pasword", FormField.OPTIONAL)
    );
  }
View Full Code Here

  private final List<FormField> formFields;

  protected CapabilityADescriptor() {
    formFields = Lists.<FormField>newArrayList(
        new StringTextFormField(PROPERTY_A1, "Property A1", "Some help text", FormField.MANDATORY)
    );
  }
View Full Code Here

  private final List<FormField> formFields;

  protected ValuesCapabilityDescriptor() {
    formFields = Lists.<FormField>newArrayList(
        new StringTextFormField("uri", "Some URI", "?", false),
        new StringTextFormField("url", "Some URL", "?", false)
    );
  }
View Full Code Here

  private final List<FormField> formFields;

  protected CapabilityBDescriptor() {
    formFields = Lists.<FormField>newArrayList(
        new StringTextFormField(PROPERTY_B1, "Property B1", "Some help text", FormField.MANDATORY)
    );
  }
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.formfields.StringTextFormField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.