test_class.file: smart-common/src/test/java/org/smartdata/model/TestActionInfo.java
test_class.identifier: TestActionInfo
test_case.body: @Test
    public void testEquals() throws Exception {
      //Case 1
      Assert.assertEquals(true, new ActionInfo().equals(new ActionInfo()));
  
      //Case 2
      Random random = new Random();
      ActionInfo actionInfo = new ActionInfo(random.nextLong(), random.nextLong(),
          " ", new HashMap<String, String>(), " ", " ",
          random.nextBoolean(), random.nextLong(), random.nextBoolean(),
          random.nextLong(), random.nextFloat());
      Assert.assertEquals(true, actionInfo.equals(actionInfo));
  
      //Case 3
      Assert.assertEquals(false, actionInfo.equals(new Object()));
      Assert.assertEquals(false, new Object().equals(actionInfo));
  
      //Case4
      Assert.assertEquals(false, actionInfo.equals(null));
  
      //Case5
      ActionInfo actionInfo1 = new ActionInfo(1, 1,
          "test", new HashMap<String, String>(), "test", "test",
          true, 1, true,
          1, 1.1f);
      ActionInfo actionInfo2 = new ActionInfo(1, 1,
          "test", new HashMap<String, String>(), "test", "test",
          true, 1, true,
          1, 1.1f);
      Assert.assertEquals(true, actionInfo1.equals(actionInfo2));
  
  
      //Case6
      actionInfo1 = new ActionInfo(1, 1,
          "test", new HashMap<String, String>(), "test", "test",
          true, 1, true,
          1, 1.1f);
      actionInfo2 = new ActionInfo(1, 1,
          "test", new HashMap<String, String>(), "", "test",
          true, 1, true,
          1, 1.1f);
      Assert.assertEquals(false, actionInfo1.equals(actionInfo2));
  
      //Case7
      actionInfo1 = new ActionInfo(1, 1,
          "test", new HashMap<String, String>(), null, "test",
          true, 1, true,
          1, 1.1f);
      actionInfo2 = new ActionInfo(1, 1,
          "test", new HashMap<String, String>(), null, "test",
          true, 1, true,
          1, 1.1f);
      Assert.assertEquals(true, actionInfo1.equals(actionInfo2));
  
      //Case8
      actionInfo1 = new ActionInfo(1, 1,
          "test", new HashMap<String, String>(), null, "test",
          true, 1, true,
          1, 1.1f);
      actionInfo2 = new ActionInfo(1, 1,
          "test", new HashMap<String, String>(), " ", "test",
          true, 1, true,
          1, 1.1f);
      Assert.assertEquals(false, actionInfo1.equals(actionInfo2));
  
      //Case9
      actionInfo1 = new ActionInfo(1, 1,
          "test", new HashMap<String, String>(), "", "test",
          true, 1, true,
          1, 1.1f);
      actionInfo2 = new ActionInfo(1, 1,
          "test", null, " ", "test",
          true, 1, true,
          1, 1.1f);
      Assert.assertEquals(false, actionInfo1.equals(actionInfo2));
      Assert.assertEquals(false, actionInfo2.equals(actionInfo1));
    }
test_case.class_method_signature: TestActionInfo.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: assertEquals equals nextLong nextLong nextBoolean nextLong nextBoolean nextLong nextFloat assertEquals equals assertEquals equals assertEquals equals assertEquals equals assertEquals equals assertEquals equals assertEquals equals assertEquals equals assertEquals equals assertEquals equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
focal_class.declarator: actionId
focal_class.modifier: private
focal_class.original_string: private long actionId;
focal_class.type: long
focal_class.var_name: actionId
focal_class.declarator: cmdletId
focal_class.modifier: private
focal_class.original_string: private long cmdletId;
focal_class.type: long
focal_class.var_name: cmdletId
focal_class.declarator: actionName
focal_class.modifier: private
focal_class.original_string: private String actionName;
focal_class.type: String
focal_class.var_name: actionName
focal_class.declarator: args
focal_class.modifier: private
focal_class.original_string: private Map<String, String> args;
focal_class.type: Map<String, String>
focal_class.var_name: args
focal_class.declarator: result
focal_class.modifier: private
focal_class.original_string: private String result;
focal_class.type: String
focal_class.var_name: result
focal_class.declarator: log
focal_class.modifier: private
focal_class.original_string: private String log;
focal_class.type: String
focal_class.var_name: log
focal_class.declarator: execHost
focal_class.modifier: private
focal_class.original_string: private String execHost;
focal_class.type: String
focal_class.var_name: execHost
focal_class.declarator: successful
focal_class.modifier: private
focal_class.original_string: private boolean successful;
focal_class.type: boolean
focal_class.var_name: successful
focal_class.declarator: createTime
focal_class.modifier: private
focal_class.original_string: private long createTime;
focal_class.type: long
focal_class.var_name: createTime
focal_class.declarator: finished
focal_class.modifier: private
focal_class.original_string: private boolean finished;
focal_class.type: boolean
focal_class.var_name: finished
focal_class.declarator: finishTime
focal_class.modifier: private
focal_class.original_string: private long finishTime;
focal_class.type: long
focal_class.var_name: finishTime
focal_class.declarator: progress
focal_class.modifier: private
focal_class.original_string: private float progress;
focal_class.type: float
focal_class.var_name: progress
focal_class.file: smart-common/src/main/java/org/smartdata/model/ActionInfo.java
focal_class.identifier: ActionInfo
focal_class.class_method_signature: ActionInfo.ActionInfo()
focal_class.full_signature: public  ActionInfo()
focal_class.identifier: ActionInfo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ActionInfo()
focal_class.class_method_signature: ActionInfo.ActionInfo(long actionId, long cmdletId, String actionName,
        Map<String, String> args, String result, String log,
        boolean successful, long createTime, boolean finished,
        long finishTime, float progress)
focal_class.full_signature: public  ActionInfo(long actionId, long cmdletId, String actionName,
        Map<String, String> args, String result, String log,
        boolean successful, long createTime, boolean finished,
        long finishTime, float progress)
focal_class.identifier: ActionInfo
focal_class.modifiers: public
focal_class.parameters: (long actionId, long cmdletId, String actionName,
        Map<String, String> args, String result, String log,
        boolean successful, long createTime, boolean finished,
        long finishTime, float progress)
focal_class.signature:  ActionInfo(long actionId, long cmdletId, String actionName,
        Map<String, String> args, String result, String log,
        boolean successful, long createTime, boolean finished,
        long finishTime, float progress)
focal_class.class_method_signature: ActionInfo.getActionId()
focal_class.full_signature: public long getActionId()
focal_class.identifier: getActionId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getActionId()
focal_class.class_method_signature: ActionInfo.setActionId(long actionId)
focal_class.full_signature: public void setActionId(long actionId)
focal_class.identifier: setActionId
focal_class.modifiers: public
focal_class.parameters: (long actionId)
focal_class.return: void
focal_class.signature: void setActionId(long actionId)
focal_class.class_method_signature: ActionInfo.getCmdletId()
focal_class.full_signature: public long getCmdletId()
focal_class.identifier: getCmdletId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getCmdletId()
focal_class.class_method_signature: ActionInfo.setCmdletId(long cmdletId)
focal_class.full_signature: public void setCmdletId(long cmdletId)
focal_class.identifier: setCmdletId
focal_class.modifiers: public
focal_class.parameters: (long cmdletId)
focal_class.return: void
focal_class.signature: void setCmdletId(long cmdletId)
focal_class.class_method_signature: ActionInfo.getActionName()
focal_class.full_signature: public String getActionName()
focal_class.identifier: getActionName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getActionName()
focal_class.class_method_signature: ActionInfo.setActionName(String actionName)
focal_class.full_signature: public void setActionName(String actionName)
focal_class.identifier: setActionName
focal_class.modifiers: public
focal_class.parameters: (String actionName)
focal_class.return: void
focal_class.signature: void setActionName(String actionName)
focal_class.class_method_signature: ActionInfo.getArgs()
focal_class.full_signature: public Map<String, String> getArgs()
focal_class.identifier: getArgs
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getArgs()
focal_class.class_method_signature: ActionInfo.setArgs(Map<String, String> args)
focal_class.full_signature: public void setArgs(Map<String, String> args)
focal_class.identifier: setArgs
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> args)
focal_class.return: void
focal_class.signature: void setArgs(Map<String, String> args)
focal_class.class_method_signature: ActionInfo.getArgsJsonString()
focal_class.full_signature: public String getArgsJsonString()
focal_class.identifier: getArgsJsonString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getArgsJsonString()
focal_class.class_method_signature: ActionInfo.setArgsFromJsonString(String jsonArgs)
focal_class.full_signature: public void setArgsFromJsonString(String jsonArgs)
focal_class.identifier: setArgsFromJsonString
focal_class.modifiers: public
focal_class.parameters: (String jsonArgs)
focal_class.return: void
focal_class.signature: void setArgsFromJsonString(String jsonArgs)
focal_class.class_method_signature: ActionInfo.getResult()
focal_class.full_signature: public String getResult()
focal_class.identifier: getResult
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getResult()
focal_class.class_method_signature: ActionInfo.setResult(String result)
focal_class.full_signature: public void setResult(String result)
focal_class.identifier: setResult
focal_class.modifiers: public
focal_class.parameters: (String result)
focal_class.return: void
focal_class.signature: void setResult(String result)
focal_class.class_method_signature: ActionInfo.appendResult(String result)
focal_class.full_signature: public void appendResult(String result)
focal_class.identifier: appendResult
focal_class.modifiers: public
focal_class.parameters: (String result)
focal_class.return: void
focal_class.signature: void appendResult(String result)
focal_class.class_method_signature: ActionInfo.getLog()
focal_class.full_signature: public String getLog()
focal_class.identifier: getLog
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLog()
focal_class.class_method_signature: ActionInfo.setLog(String log)
focal_class.full_signature: public void setLog(String log)
focal_class.identifier: setLog
focal_class.modifiers: public
focal_class.parameters: (String log)
focal_class.return: void
focal_class.signature: void setLog(String log)
focal_class.class_method_signature: ActionInfo.appendLog(String log)
focal_class.full_signature: public void appendLog(String log)
focal_class.identifier: appendLog
focal_class.modifiers: public
focal_class.parameters: (String log)
focal_class.return: void
focal_class.signature: void appendLog(String log)
focal_class.class_method_signature: ActionInfo.appendLogLine(String logLine)
focal_class.full_signature: public void appendLogLine(String logLine)
focal_class.identifier: appendLogLine
focal_class.modifiers: public
focal_class.parameters: (String logLine)
focal_class.return: void
focal_class.signature: void appendLogLine(String logLine)
focal_class.class_method_signature: ActionInfo.isSuccessful()
focal_class.full_signature: public boolean isSuccessful()
focal_class.identifier: isSuccessful
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSuccessful()
focal_class.class_method_signature: ActionInfo.setSuccessful(boolean successful)
focal_class.full_signature: public void setSuccessful(boolean successful)
focal_class.identifier: setSuccessful
focal_class.modifiers: public
focal_class.parameters: (boolean successful)
focal_class.return: void
focal_class.signature: void setSuccessful(boolean successful)
focal_class.class_method_signature: ActionInfo.getCreateTime()
focal_class.full_signature: public long getCreateTime()
focal_class.identifier: getCreateTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getCreateTime()
focal_class.class_method_signature: ActionInfo.setCreateTime(long createTime)
focal_class.full_signature: public void setCreateTime(long createTime)
focal_class.identifier: setCreateTime
focal_class.modifiers: public
focal_class.parameters: (long createTime)
focal_class.return: void
focal_class.signature: void setCreateTime(long createTime)
focal_class.class_method_signature: ActionInfo.isFinished()
focal_class.full_signature: public boolean isFinished()
focal_class.identifier: isFinished
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isFinished()
focal_class.class_method_signature: ActionInfo.setFinished(boolean finished)
focal_class.full_signature: public void setFinished(boolean finished)
focal_class.identifier: setFinished
focal_class.modifiers: public
focal_class.parameters: (boolean finished)
focal_class.return: void
focal_class.signature: void setFinished(boolean finished)
focal_class.class_method_signature: ActionInfo.getFinishTime()
focal_class.full_signature: public long getFinishTime()
focal_class.identifier: getFinishTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getFinishTime()
focal_class.class_method_signature: ActionInfo.setFinishTime(long finishTime)
focal_class.full_signature: public void setFinishTime(long finishTime)
focal_class.identifier: setFinishTime
focal_class.modifiers: public
focal_class.parameters: (long finishTime)
focal_class.return: void
focal_class.signature: void setFinishTime(long finishTime)
focal_class.class_method_signature: ActionInfo.getProgress()
focal_class.full_signature: public float getProgress()
focal_class.identifier: getProgress
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getProgress()
focal_class.class_method_signature: ActionInfo.setProgress(float progress)
focal_class.full_signature: public void setProgress(float progress)
focal_class.identifier: setProgress
focal_class.modifiers: public
focal_class.parameters: (float progress)
focal_class.return: void
focal_class.signature: void setProgress(float progress)
focal_class.class_method_signature: ActionInfo.getExecHost()
focal_class.full_signature: public String getExecHost()
focal_class.identifier: getExecHost
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getExecHost()
focal_class.class_method_signature: ActionInfo.setExecHost(String execHost)
focal_class.full_signature: public void setExecHost(String execHost)
focal_class.identifier: setExecHost
focal_class.modifiers: public
focal_class.parameters: (String execHost)
focal_class.return: void
focal_class.signature: void setExecHost(String execHost)
focal_class.class_method_signature: ActionInfo.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: ActionInfo.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: ActionInfo.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: ActionInfo.newBuilder()
focal_class.full_signature: public static Builder newBuilder()
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Builder
focal_class.signature: Builder newBuilder()
focal_method.body: @Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }
      ActionInfo that = (ActionInfo) o;
      return actionId == that.actionId
          && cmdletId == that.cmdletId
          && successful == that.successful
          && createTime == that.createTime
          && finished == that.finished
          && finishTime == that.finishTime
          && Float.compare(that.progress, progress) == 0
          && Objects.equals(actionName, that.actionName)
          && Objects.equals(args, that.args)
          && Objects.equals(result, that.result)
          && Objects.equals(log, that.log);
    }
focal_method.class_method_signature: ActionInfo.equals(Object o)
focal_method.full_signature: @Override public boolean equals(Object o)
focal_method.identifier: equals
focal_method.invocations: getClass getClass compare equals equals equals equals
focal_method.modifiers: @Override public
focal_method.parameters: (Object o)
focal_method.return: boolean
focal_method.signature: boolean equals(Object o)