Examples of AwsAction


Examples of io.fathom.cloud.compute.api.aws.ec2.actions.AwsAction

        addHandler(handlers, TerminateInstances.class);
        return handlers;
    }

    private static void addHandler(Map<String, Class<?>> handlers, Class<? extends AwsActionHandler> clazz) {
        AwsAction action = clazz.getAnnotation(AwsAction.class);
        if (action == null) {
            throw new IllegalStateException("No @Action annotation on: " + clazz);
        }
        handlers.put(action.value(), clazz);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.