All Downloads are FREE. Search and download functionalities are using the official Maven repository.

website.automate.teamcity.agent.support.AutomateWebsiteAgentBuildRunnerInfo Maven / Gradle / Ivy

The newest version!
package website.automate.teamcity.agent.support;

import website.automate.teamcity.common.Constants;
import jetbrains.buildServer.agent.AgentBuildRunnerInfo;
import jetbrains.buildServer.agent.BuildAgentConfiguration;

public class AutomateWebsiteAgentBuildRunnerInfo implements AgentBuildRunnerInfo {

    private static final AutomateWebsiteAgentBuildRunnerInfo INSTANCE = new AutomateWebsiteAgentBuildRunnerInfo();
    
    public static AutomateWebsiteAgentBuildRunnerInfo getInstance() {
        return INSTANCE;
    }
    
    @Override
    public String getType() {
        return Constants.RUN_TYPE;
    }

    @Override
    public boolean canRun(BuildAgentConfiguration agentConfiguration) {
        // No restrictions known yet, since a simple URL connection to external server is required.
        return true;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy