package backtype.storm.nimbus;

import backtype.storm.generated.InvalidTopologyException;
import backtype.storm.generated.StormTopology;
import java.util.Map;

public interface ITopologyValidator {
    void validate(String topologyName, Map topologyConf, StormTopology topology, Map NimbusConf)
            throws InvalidTopologyException;
}

package backtype.storm.nimbus;

import backtype.storm.generated.InvalidTopologyException;
import backtype.storm.generated.StormTopology;
import java.util.Map;

public interface ITopologyValidator {
    void prepare(String topologyName, Map topologyConf, StormTopology topology, Map NimbusConf);
    void validate(String topologyName, Map topologyConf, StormTopology topology, Map NimbusConf)
            throws InvalidTopologyException;
}

Update ITopologyValidator.java