1 5 package com.tc.object.config; 6 7 public class DistributedMethodSpec { 8 9 private final String methodExpression; 10 private final boolean runOnAllNodes; 11 12 public DistributedMethodSpec(final String methodExpression, final boolean runOnAllNodes) { 13 this.methodExpression = methodExpression; 14 this.runOnAllNodes = runOnAllNodes; 15 } 16 17 public String getMethodExpression() { 18 return methodExpression; 19 } 20 21 public boolean runOnAllNodes() { 22 return runOnAllNodes; 23 } 24 25 public String toString() { 26 return "DistributedMethodSpec{methodExpression=" + methodExpression + ", runOnAllNodes=" + runOnAllNodes + "}"; 27 } 28 } 29 | Popular Tags |