Package org.sonatype.nexus.formfields

Examples of org.sonatype.nexus.formfields.NumberTextFormField


            SettingsCapabilityConfiguration.DEBUG_ALLOWED,
            messages.debugAllowedLabel(),
            messages.debugAllowedHelp(),
            FormField.OPTIONAL
        ).withInitialValue(RaptureSettings.DEFAULT_DEBUG_ALLOWED),
        new NumberTextFormField(
            SettingsCapabilityConfiguration.STATUS_INTERVAL_AUTHENTICATED,
            messages.statusIntervalAuthenticatedLabel(),
            messages.statusIntervalAuthenticatedHelp(),
            FormField.MANDATORY
        ).withInitialValue(RaptureSettings.DEFAULT_STATUS_INTERVAL_AUTHENTICATED),
        new NumberTextFormField(
            SettingsCapabilityConfiguration.STATUS_INTERVAL_ANONYMOUS,
            messages.statusIntervalAnonymousLabel(),
            messages.statusIntervalAnonymousHelp(),
            FormField.MANDATORY
        ).withInitialValue(RaptureSettings.DEFAULT_STATUS_INTERVAL_ANONYMOUS),
        new NumberTextFormField(
            SettingsCapabilityConfiguration.SESSION_TIMEOUT,
            messages.sessionTimeoutLabel(),
            messages.sessionTimeoutHelp(),
            FormField.MANDATORY
        ).withInitialValue(RaptureSettings.DEFAULT_SESSION_TIMEOUT)
View Full Code Here


            "Process deletes",
            "Check if removing an RPM from this repository should regenerate Yum repository"
                + " (default true)",
            FormField.OPTIONAL
        ).withInitialValue(true),
        new NumberTextFormField(
            GenerateMetadataCapabilityConfiguration.DELETE_PROCESSING_DELAY,
            "Delete process delay",
            "Number of seconds to wait before regenerating Yum repository when an RPM is removed"
                + " (default 10 seconds)",
            FormField.OPTIONAL
View Full Code Here

            "Select the Maven repository to remove unused snapshots.",
            FormField.MANDATORY
        ).includeAnEntryForAllRepositories()
            .includingAnyOfContentClasses(Maven2ContentClass.ID)
            .excludingAnyOfFacets(ProxyRepository.class),
        new NumberTextFormField(
            DAYS_SINCE_LAST_REQUESTED_FIELD_ID,
            "Days since last requested",
            "The job will purge all snapshots that were last time requested from Nexus before the specified number of days",
            FormField.MANDATORY
        )
View Full Code Here

  @Inject
  public YumCapabilityDescriptor(final Validators validators) {
    this.validators = validators;

    this.formFields = Lists.<FormField>newArrayList(
        new NumberTextFormField(
            YumCapabilityConfiguration.MAX_NUMBER_PARALLEL_THREADS,
            messages.maxNumberParallelThreadsLabel(),
            messages.maxNumberParallelThreadsHelp(),
            FormField.OPTIONAL
        ).withInitialValue(10),
View Full Code Here

  private final NumberTextFormField olderThanField;

  private final List<FormField> formFields;

  public PurgeTimelineTaskDescriptor() {
    this.olderThanField = new NumberTextFormField(OLDER_THAN_FIELD_ID,
        "Purge items older than (days)",
        "Set the number of days, to purge all items that were trashed before the given number of days.",
        FormField.MANDATORY);
    this.formFields = ImmutableList.<FormField>of(olderThanField);
  }
View Full Code Here

TOP

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

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.