Package org.rhq.core.clientapi.server.core

Examples of org.rhq.core.clientapi.server.core.AgentVersion


    private AgentVersion setSupportedBuildsToCheck(String supportedBuildsRegex, String agentVersionToCheck,
        String agentBuildToCheck) {
        this.supportedBuildsRegex = supportedBuildsRegex;

        return new AgentVersion(agentVersionToCheck, agentBuildToCheck);
    }
View Full Code Here


        String agentBuildToCheck) {
        this.supportedBuildsRegex = null;
        this.agentLatestBuild = agentLatestBuild;
        this.agentLatestVersion = agentLatestVersion;

        return new AgentVersion(agentVersionToCheck, agentBuildToCheck);
    }
View Full Code Here

        DummyCoreServer mbean = new DummyCoreServer();
        prepareCustomServerService(mbean, CoreServerMBean.OBJECT_NAME);

        // in order to register, we need to mock out the agent version file used by the server
        // to determine the agent version it supports.
        agentVersion = new AgentVersion(VERSION, BUILD);
        File agentVersionFile = new File(mbean.getJBossServerDataDir(), DOWNLOADS_AGENT + "/" + SERVER_AGENT_PROPERTIES);
        agentVersionFile.getParentFile().mkdirs();
        agentVersionFile.delete();
        Properties agentVersionProps = new Properties();
        agentVersionProps.put(AGENT_VERSION, agentVersion.getVersion());
View Full Code Here

TOP

Related Classes of org.rhq.core.clientapi.server.core.AgentVersion

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.