mirror of https://github.com/apache/cloudstack.git
Added @Implementation to bunch of api commands - used by api doc builder
This commit is contained in:
parent
aaf0d24a83
commit
29b82f2778
|
|
@ -18,6 +18,7 @@ import com.cloud.api.ApiConstants;
|
|||
import com.cloud.api.BaseAsyncCreateCmd;
|
||||
import com.cloud.api.BaseCmd;
|
||||
import com.cloud.api.IdentityMapper;
|
||||
import com.cloud.api.Implementation;
|
||||
import com.cloud.api.Parameter;
|
||||
import com.cloud.api.ServerApiException;
|
||||
import com.cloud.api.response.VpcResponse;
|
||||
|
|
@ -32,6 +33,8 @@ import com.cloud.user.UserContext;
|
|||
/**
|
||||
* @author Alena Prokharchyk
|
||||
*/
|
||||
|
||||
@Implementation(description="Creates a VPC", responseObject=VpcResponse.class)
|
||||
public class CreateVPCCmd extends BaseAsyncCreateCmd{
|
||||
public static final Logger s_logger = Logger.getLogger(CreateVPCCmd.class.getName());
|
||||
private static final String s_name = "createvpcresponse";
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ import org.apache.log4j.Logger;
|
|||
import com.cloud.api.ApiConstants;
|
||||
import com.cloud.api.BaseAsyncCreateCmd;
|
||||
import com.cloud.api.BaseCmd;
|
||||
import com.cloud.api.Implementation;
|
||||
import com.cloud.api.Parameter;
|
||||
import com.cloud.api.ServerApiException;
|
||||
import com.cloud.api.response.VpcOfferingResponse;
|
||||
|
|
@ -30,6 +31,8 @@ import com.cloud.user.Account;
|
|||
/**
|
||||
* @author Alena Prokharchyk
|
||||
*/
|
||||
|
||||
@Implementation(description="Creates VPC offering", responseObject=VpcOfferingResponse.class)
|
||||
public class CreateVPCOfferingCmd extends BaseAsyncCreateCmd{
|
||||
public static final Logger s_logger = Logger.getLogger(CreateVPCOfferingCmd.class.getName());
|
||||
private static final String _name = "createvpcofferingresponse";
|
||||
|
|
|
|||
|
|
@ -18,12 +18,12 @@ import com.cloud.api.ApiConstants;
|
|||
import com.cloud.api.BaseAsyncCmd;
|
||||
import com.cloud.api.BaseCmd;
|
||||
import com.cloud.api.IdentityMapper;
|
||||
import com.cloud.api.Implementation;
|
||||
import com.cloud.api.Parameter;
|
||||
import com.cloud.api.ServerApiException;
|
||||
import com.cloud.api.response.SuccessResponse;
|
||||
import com.cloud.event.EventTypes;
|
||||
import com.cloud.exception.ConcurrentOperationException;
|
||||
import com.cloud.exception.InsufficientCapacityException;
|
||||
import com.cloud.exception.ResourceUnavailableException;
|
||||
import com.cloud.network.vpc.Vpc;
|
||||
import com.cloud.user.Account;
|
||||
|
|
@ -31,6 +31,8 @@ import com.cloud.user.Account;
|
|||
/**
|
||||
* @author Alena Prokharchyk
|
||||
*/
|
||||
|
||||
@Implementation(description="Deletes a VPC", responseObject=SuccessResponse.class)
|
||||
public class DeleteVPCCmd extends BaseAsyncCmd{
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteVPCCmd.class.getName());
|
||||
private static final String s_name = "deletevpcresponse";
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ import com.cloud.api.ApiConstants;
|
|||
import com.cloud.api.BaseAsyncCmd;
|
||||
import com.cloud.api.BaseCmd;
|
||||
import com.cloud.api.IdentityMapper;
|
||||
import com.cloud.api.Implementation;
|
||||
import com.cloud.api.Parameter;
|
||||
import com.cloud.api.ServerApiException;
|
||||
import com.cloud.api.response.SuccessResponse;
|
||||
|
|
@ -27,6 +28,8 @@ import com.cloud.user.Account;
|
|||
/**
|
||||
* @author Alena Prokharchyk
|
||||
*/
|
||||
|
||||
@Implementation(description="Deletes VPC offering", responseObject=SuccessResponse.class)
|
||||
public class DeleteVPCOfferingCmd extends BaseAsyncCmd{
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteVPCOfferingCmd.class.getName());
|
||||
private static final String s_name = "deletevpcofferingresponse";
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ import org.apache.log4j.Logger;
|
|||
import com.cloud.api.ApiConstants;
|
||||
import com.cloud.api.BaseListCmd;
|
||||
import com.cloud.api.IdentityMapper;
|
||||
import com.cloud.api.Implementation;
|
||||
import com.cloud.api.Parameter;
|
||||
import com.cloud.api.response.ListResponse;
|
||||
import com.cloud.api.response.VpcOfferingResponse;
|
||||
|
|
@ -28,6 +29,8 @@ import com.cloud.network.vpc.VpcOffering;
|
|||
/**
|
||||
* @author Alena Prokharchyk
|
||||
*/
|
||||
|
||||
@Implementation(description="Lists VPC offerings", responseObject=VpcOfferingResponse.class)
|
||||
public class ListVPCOfferingsCmd extends BaseListCmd{
|
||||
public static final Logger s_logger = Logger.getLogger(ListVPCOfferingsCmd.class.getName());
|
||||
private static final String _name = "listvpcofferingsresponse";
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ import org.apache.log4j.Logger;
|
|||
import com.cloud.api.ApiConstants;
|
||||
import com.cloud.api.BaseListAccountResourcesCmd;
|
||||
import com.cloud.api.IdentityMapper;
|
||||
import com.cloud.api.Implementation;
|
||||
import com.cloud.api.Parameter;
|
||||
import com.cloud.api.response.ListResponse;
|
||||
import com.cloud.api.response.VpcResponse;
|
||||
|
|
@ -28,6 +29,8 @@ import com.cloud.network.vpc.Vpc;
|
|||
/**
|
||||
* @author Alena Prokharchyk
|
||||
*/
|
||||
|
||||
@Implementation(description="Lists VPCs", responseObject=VpcResponse.class)
|
||||
public class ListVPCsCmd extends BaseListAccountResourcesCmd{
|
||||
public static final Logger s_logger = Logger.getLogger(ListVPCsCmd.class.getName());
|
||||
private static final String s_name = "listvpcsresponse";
|
||||
|
|
|
|||
|
|
@ -7,9 +7,11 @@ import com.cloud.api.ApiConstants;
|
|||
import com.cloud.api.BaseAsyncCmd;
|
||||
import com.cloud.api.BaseCmd;
|
||||
import com.cloud.api.IdentityMapper;
|
||||
import com.cloud.api.Implementation;
|
||||
import com.cloud.api.Parameter;
|
||||
import com.cloud.api.ServerApiException;
|
||||
import com.cloud.api.response.SuccessResponse;
|
||||
import com.cloud.api.response.VpcResponse;
|
||||
import com.cloud.event.EventTypes;
|
||||
import com.cloud.exception.ConcurrentOperationException;
|
||||
import com.cloud.exception.InsufficientCapacityException;
|
||||
|
|
@ -20,6 +22,8 @@ import com.cloud.user.Account;
|
|||
/**
|
||||
* @author Alena Prokharchyk
|
||||
*/
|
||||
|
||||
@Implementation(description="Restarts a VPC", responseObject=VpcResponse.class)
|
||||
public class RestartVPCCmd extends BaseAsyncCmd{
|
||||
public static final Logger s_logger = Logger.getLogger(RestartVPCCmd.class.getName());
|
||||
private static final String _name = "restartvpcresponse";
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ import com.cloud.api.ApiConstants;
|
|||
import com.cloud.api.BaseAsyncCmd;
|
||||
import com.cloud.api.BaseCmd;
|
||||
import com.cloud.api.IdentityMapper;
|
||||
import com.cloud.api.Implementation;
|
||||
import com.cloud.api.Parameter;
|
||||
import com.cloud.api.ServerApiException;
|
||||
import com.cloud.api.response.VpcResponse;
|
||||
|
|
@ -28,6 +29,8 @@ import com.cloud.user.Account;
|
|||
/**
|
||||
* @author Alena Prokharchyk
|
||||
*/
|
||||
|
||||
@Implementation(description="Updates a VPC", responseObject=VpcResponse.class)
|
||||
public class UpdateVPCCmd extends BaseAsyncCmd{
|
||||
public static final Logger s_logger = Logger.getLogger(UpdateVPCCmd.class.getName());
|
||||
private static final String _name = "updatevpcresponse";
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ import com.cloud.api.ApiConstants;
|
|||
import com.cloud.api.BaseAsyncCmd;
|
||||
import com.cloud.api.BaseCmd;
|
||||
import com.cloud.api.IdentityMapper;
|
||||
import com.cloud.api.Implementation;
|
||||
import com.cloud.api.Parameter;
|
||||
import com.cloud.api.ServerApiException;
|
||||
import com.cloud.api.response.VpcOfferingResponse;
|
||||
|
|
@ -28,6 +29,8 @@ import com.cloud.user.Account;
|
|||
/**
|
||||
* @author Alena Prokharchyk
|
||||
*/
|
||||
|
||||
@Implementation(description="Updates VPC offering", responseObject=VpcOfferingResponse.class)
|
||||
public class UpdateVPCOfferingCmd extends BaseAsyncCmd{
|
||||
public static final Logger s_logger = Logger.getLogger(UpdateVPCOfferingCmd.class.getName());
|
||||
private static final String _name = "updatevpcofferingresponse";
|
||||
|
|
|
|||
Loading…
Reference in New Issue