@Test public void testJSON() throws IOException { ObjectMapper mapper = new ObjectMapper(); String json = mapper.writeValueAsString(action); ExecuteScriptAction c2 = mapper.readValue(json, ExecuteScriptAction.class); assertEquals(action.getScript(), c2.getScript()); }
public String getScript() { return script; }
ExecuteScriptAction extends SymbolAction { public String getScript() { return script; } }
ExecuteScriptAction extends SymbolAction { public String getScript() { return script; }  }
ExecuteScriptAction extends SymbolAction { public String getScript() { return script; }  @Override ExecuteResult execute(ConnectorManager connector); String getScript(); void setScript(String script); String getName(); void setName(String name); boolean isAsync(); void setAsync(boolean async); int getTimeout(); void setTimeout(int timeout); }
ExecuteScriptAction extends SymbolAction { public String getScript() { return script; }  @Override ExecuteResult execute(ConnectorManager connector); String getScript(); void setScript(String script); String getName(); void setName(String name); boolean isAsync(); void setAsync(boolean async); int getTimeout(); void setTimeout(int timeout);  }