protected void verifyActionable() {
    if (!this.isActionable()){
      throw new IllegalStateException("actionable command on task called when ReplicationTask is still not actionable.");
    }
  }
Allows a user to specify a db name mapping, where the the function provided maps the name of
the db in the source warehouse to the name of the db in the dest warehouse. It is expected
that if the mapping does not exist, it should return the same name sent in. Or, if the function
throws an IllegalArgumentException as well, a ReplicationTask will use the same key sent in.
That way, the default will then be that the destination db name is the same as the src db name

If you want to use a Map&lt;String,String&gt; mapping instead of a Function&lt;String,String&gt;,
simply call this function as .withDbNameMapping(ReplicationUtils.mapBasedFunction(dbMap))
@param dbNameMapping
@return this replication task
hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/repl/ReplicationTask.java