Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 373 for prompter (0.13 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

     */
    @Experimental
    public interface Prompter extends Service {
        /**
         * Prompts the user for a string.
         *
         * @param message the message to display to the user
         * @return the string entered by the user
         * @throws PrompterException if an exception occurs
         */
        @Nonnull
        default String prompt(@Nullable String message) throws PrompterException {
            return prompt(message, null, null);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

     * Trivial master password source using Maven {@link Prompter} service.
     */
    @Singleton
    @Named(ConsolePasswordPrompt.NAME)
    public class ConsolePasswordPrompt implements MasterSource, MasterSourceMeta {
        public static final String NAME = "console-prompt";
    
        private final Prompter prompter;
    
        @Inject
        public ConsolePasswordPrompt(Prompter prompter) {
            this.prompter = prompter;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

    import java.util.List;
    
    import org.apache.maven.api.services.Prompter;
    import org.apache.maven.api.services.PrompterException;
    import org.codehaus.plexus.PlexusContainer;
    
    @Named
    @Singleton
    public class DefaultPrompter implements Prompter {
    
        private static final String PROMPTER_CLASS = "org.codehaus.plexus.components.interactivity.Prompter";
        private final PlexusContainer container;
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/PrompterException.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.Serial;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The Exception class throw by the {@link Prompter} service.
     *
     * @since 4.0.0
     */
    @Experimental
    public class PrompterException extends MavenException {
    
        @Serial
        private static final long serialVersionUID = -3505070928479515081L;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

            id("Promotion_FinalRelease")
            name = "Release - Final"
            description = "Promotes the latest successful change on 'release' as a new release"
        }
    )
    
    class PublishReleaseCandidate(branch: VersionedSettingsBranch) : PublishRelease(
        promotedBranch = branch.branchName,
        prepTask = "prepRc",
        promoteTask = "promoteRc",
        requiredConfirmationCode = "rc",
        init = {
            id("Promotion_ReleaseCandidate")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/promotion/StartReleaseCycle.kt

                text("gitUserName", "", label = "Git user.name Configuration", description = "Enter the git 'user.name' configuration to commit change under", display = ParameterDisplay.PROMPT, allowEmpty = true)
            }
    
            steps {
                gradleWrapper {
                    name = "Promote"
                    tasks = "clean promoteStartReleaseCycle"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/promotion/BasePublishGradleDistribution.kt

    import jetbrains.buildServer.configs.kotlin.FailureAction
    import jetbrains.buildServer.configs.kotlin.RelativeId
    import vcsroots.gradlePromotionMaster
    
    abstract class BasePublishGradleDistribution(
        // The branch to be promoted
        val promotedBranch: String,
        val prepTask: String?,
        val triggerName: String,
        val gitUserName: String = "bot-teamcity",
        val gitUserEmail: String = "******@****.***",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 07 17:05:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedbackStepPromote.kt

    ) {
        init {
            id("Promotion_SnapshotFromQuickFeedbackStepPromote")
            name = "Nightly Snapshot (from QuickFeedback) - Promote"
            description = "Promotes a previously built distribution on this agent on '${branch.branchName}' from Quick Feedback as a new nightly snapshot. This build checks out gradle-promote, so don't be misled by the 'master' branch."
    
            steps {
                buildStep(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 09 14:10:43 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/promotion/PublishBranchSnapshotFromQuickFeedback.kt

                text(
                    "branch.to.promote",
                    "%branch.qualifier%",
                    label = "Branch to promote",
                    description = "Type in the branch of gradle/gradle you want to promote. Leave the default value when promoting an existing build.",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = false
                )
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            val upload = gradleStep(steps, 1)
            upload.assertTasks("prepRc uploadAll")
            assertEquals(expectedGradleParams, upload.gradleParams)
    
            val promote = gradleStep(steps, 2)
            promote.assertTasks("prepRc promoteRc")
            assertEquals(expectedGradleParams, upload.gradleParams)
        }
    
        @ParameterizedTest
        @CsvSource(
            value = [
                "master,  promoteMilestone",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Feb 13 14:18:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top