/** * Check the compatibility of the action with a source configuration. The hosting node must be * online and running the virtual machine * * @param src the configuration to check * @return {@code true} if the action is compatible */ @Override public boolean isCompatibleWith(Configuration src) { return (src.isOnline(getHost()) && src.isRunning(getVirtualMachine()) && src.getLocation(getVirtualMachine()).equals(getHost())); }