
com.morpheusdata.response.AppProvisionResponse Maven / Gradle / Ivy
/*
* Copyright 2024 Morpheus Data, LLC.
*
* Licensed under the PLUGIN CORE SOURCE LICENSE (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://raw.githubusercontent.com/gomorpheus/morpheus-plugin-core/v1.0.x/LICENSE
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.morpheusdata.response;
import com.morpheusdata.model.provisioning.UserConfiguration;
import java.util.List;
import java.util.Map;
/**
* Results of running a {@link com.morpheusdata.model.App}
*/
public class AppProvisionResponse {
/**
* Indicates if the provision was successful
*/
public Boolean success = false;
/**
* A list of instance ids to finalize
*/
public List instanceFinalizeList;
/**
* A map of instance ids that failed to provision. Each entry is an instance id (key) and a failure message (value)
*/
public Map failedInstances;
/**
* Indicates if the agent should be installed on the server by Morpheus. Setting this to false does not
* necessarily mean that the agent will not be installed as it may be installed via cloudinit.
*/
public Boolean installAgent;
/**
* Agent will not be installed in any way.. don't wait for it
*/
public Boolean noAgent = false;
/**
* Set to the hostname of the ComputeServer (optional)
*/
public String hostname;
/**
* When an error occurs, set the error message here
*/
public String message;
public void setError(String message) {
this.success = false;
this.message = message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy