@Inject public RebuildIndexTaskDescriptor(final NodeAccess nodeAccess) { super(TYPE_ID, RebuildIndexTask.class, "Repair - Rebuild repository search", VISIBLE, EXPOSED, new RepositoryCombobox( REPOSITORY_NAME_FIELD_ID, "Repository", "Select the repository to rebuild index", true ).includingAnyOfFacets(SearchFacet.class).includeAnEntryForAllRepositories(), nodeAccess.isClustered() ? newMultinodeFormField().withInitialValue(true) : null ); } }
@Inject public ReindexNpmRepositoryTaskDescriptor(final NodeAccess nodeAccess) { super(TYPE_ID, ReindexNpmRepositoryTask.class, "Repair - Reconcile npm /-/v1/search metadata", VISIBLE, EXPOSED, new RepositoryCombobox( REPOSITORY_NAME_FIELD_ID, "Repository", "Select the npm repository to reconcile", true ).includingAnyOfFacets(NpmSearchFacet.class).includeAnEntryForAllRepositories(), nodeAccess.isClustered() ? newMultinodeFormField().withInitialValue(true) : null ); } }
RestoreMetadataTaskDescriptor() { super(TYPE_ID, RestoreMetadataTask.class, messages.name(), VISIBLE, EXPOSED, new ComboboxFormField<String>( BLOB_STORE_NAME_FIELD_ID, messages.blobstoreNameLabel(), messages.blobstoreNameHelpText(), MANDATORY ).withStoreApi("coreui_Blobstore.read").withIdMapping("name"), new CheckboxFormField(DRY_RUN, messages.dryRunLabel(), messages.dryRunHelpText(), OPTIONAL).withInitialValue(false), new CheckboxFormField(RESTORE_BLOBS, messages.restoreBlobsLabel(), messages.restoreBlobsHelpText(), OPTIONAL).withInitialValue(true), new CheckboxFormField(UNDELETE_BLOBS, messages.undeleteBlobsLabel(), messages.undeleteBlobsHelpText(), OPTIONAL).withInitialValue(true), new CheckboxFormField(INTEGRITY_CHECK, messages.integrityCheckLabel(), messages.integrityCheckHelpText(), OPTIONAL).withInitialValue(true) ); } }
public BrandingCapabilityDescriptor() { formFields = Lists.<FormField>newArrayList( new CheckboxFormField( BrandingCapabilityConfiguration.HEADER_ENABLED, messages.headerEnabledLabel(), messages.headerEnabledHelp(), FormField.OPTIONAL ).withInitialValue(true), new TextAreaFormField( BrandingCapabilityConfiguration.HEADER_HTML, messages.headerHtmlLabel(), messages.headerHtmlHelp(), FormField.OPTIONAL ), new CheckboxFormField( BrandingCapabilityConfiguration.FOOTER_ENABLED, messages.footerEnabledLabel(), messages.footerEnabledHelp(), FormField.OPTIONAL ).withInitialValue(true), new TextAreaFormField( BrandingCapabilityConfiguration.FOOTER_HTML, messages.footerHtmlLabel(), messages.footerHtmlHelp(), FormField.OPTIONAL ) ); }
+ " (default true)", FormField.OPTIONAL ).withInitialValue(true), new NumberTextFormField( GenerateMetadataCapabilityConfiguration.DELETE_PROCESSING_DELAY,
"them if they are incorrect. This can significantly increase the time needed for this task.", OPTIONAL ).withInitialValue(false) );
messages.debugAllowedHelp(), FormField.OPTIONAL ).withInitialValue(RaptureSettings.DEFAULT_DEBUG_ALLOWED), new NumberTextFormField( SettingsCapabilityConfiguration.STATUS_INTERVAL_AUTHENTICATED,