if (this.getAction().getClass().getName().equals("org.cougaar.tools.robustness.disconnection.AgentDisconnectAction")) { if (conflictWith("org.cougaar.tools.robustness.ma.util.AgentRestartAction", "Yes", activeActions, selectedVariants)) return false; }
    public boolean doesNotConflict(VariantEvaluation ve, Collection activeActions, Collection selectedVariants) {           // determines whether the selection of this variant for this Action precludes the selection of some other Action        // this should be based on TechSpecs        // basic outline is to return TRUE if the action (or variant of the action) cannot conflict with anything        //   to teturn FALSE if the action variant conflicts with something already active or selected        //   and to return TRUE if neither of the above is true        if (activeActions.isEmpty() && selectedVariants.isEmpty()) return true;        if (this.getAction().getClass().getName().equals("org.cougaar.coordinator.security.AgentCompromiseAction")) return true;        if (this.getAction().getClass().getName().equals("org.cougaar.robustness.dos.coordinator.CompressionAction")) return true;        if (this.getAction().getClass().getName().equals("org.cougaar.robustness.dos.coordinator.RMIAction")) return true;        if (this.getAction().getClass().getName().equals("org.cougaar.robustness.dos.coordinator.FuseResetAction")) return true;        if (this.getAction().getClass().getName().equals("org.cougaar.robustness.dos.coordinator.AttackResetAction")) return true;        if (this.getAction().getClass().getName().equals("org.cougaar.core.security.coordinator.SecurityLevelAction")) return true;        if (this.getAction().getClass().getName().equals("org.cougaar.mts.std.LinksEnablingAction")) {            if (ve.getVariantName().equals("Disable")) return true;            else {                if (conflictWith("org.cougaar.tools.robustness.ma.util.AgentRestartAction", "Yes", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.tools.robustness.disconnection.NodeDisconnectAction", "Allow_Disconnect", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.tools.robustness.disconnection.AgentDisconnectAction", "Allow_Disconnect", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.coordinator.security.AgentCompromiseAction", "Restart", activeActions, selectedVariants)) return false;            }         }        if (this.getAction().getClass().getName().equals("org.cougaar.tools.robustness.ma.util.AgentRestartAction")) {            if (ve.getVariantName().equals("No")) return true;            // NOTE - not clear what conflict semantics we want between Restrat & MsgLog            else {                if (conflictWith("org.cougaar.mts.std.LinksEnablingAction", "Normal", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.mts.std.LinksEnablingAction", "AlternateDirect", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.mts.std.LinksEnablingAction", "StoreAndForward", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.tools.robustness.disconnection.NodeDisconnectAction", "Allow_Disconnect", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.tools.robustness.disconnection.AgentDisconnectAction", "Allow_Disconnect", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.coordinator.security.AgentCompromiseAction", "Restart", activeActions, selectedVariants)) return false;            }        }        if (this.getAction().getClass().getName().equals("org.cougaar.coordinator.security.AgentCompromiseAction")) {            if (ve.getVariantName().equals("DoNothing")) return true;            else {                if (conflictWith("org.cougaar.mts.std.LinksEnablingAction", "Normal", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.mts.std.LinksEnablingAction", "AlternateDirect", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.mts.std.LinksEnablingAction", "StoreAndForward", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.tools.robustness.ma.util.AgentRestartAction", "Yes", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.tools.robustness.disconnection.NodeDisconnectAction", "Allow_Disconnect", activeActions, selectedVariants)) return false;                if (conflictWith("org.cougaar.tools.robustness.disconnection.AgentDisconnectAction", "Allow_Disconnect", activeActions, selectedVariants)) return false;            }        }        return true;    }