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

com.woorea.openstack.console.keystone.KeystoneCommand Maven / Gradle / Ivy

The newest version!
package com.woorea.openstack.console.keystone;

import org.apache.commons.cli.CommandLine;

import com.woorea.openstack.console.Command;
import com.woorea.openstack.console.Console;
import com.woorea.openstack.keystone.Keystone;

public abstract class KeystoneCommand extends Command {
	
	public KeystoneCommand(String name) {
		super(name);
	}

	@Override
	public void execute(Console console, CommandLine args) {
		KeystoneEnvironment environment = (KeystoneEnvironment) console.getEnvironment();
		execute(environment.CLIENT, args);
		
	}

	protected abstract void execute(Keystone keystone, CommandLine args);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy