1 24 package org.objectweb.joram.shared.admin; 25 26 import java.util.Properties ; 27 28 32 public class CreateDestinationRequest extends AdminRequest { 33 private static final long serialVersionUID = 4956998807717134521L; 34 35 36 private int serverId; 37 38 39 private String name; 40 41 42 private String className; 43 44 45 private Properties props; 46 47 private String expectedType; 48 49 56 public CreateDestinationRequest(int serverId, 57 String name, 58 String className, 59 Properties props, 60 String expectedType) { 61 this.serverId = serverId; 62 this.name = name; 63 this.className = className; 64 this.props = props; 65 this.expectedType = expectedType; 66 } 67 68 69 public final int getServerId() { 70 return serverId; 71 } 72 73 74 public final String getDestinationName() { 75 return name; 76 } 77 78 79 public final String getClassName() { 80 return className; 81 } 82 83 84 public final Properties getProperties() { 85 return props; 86 } 87 88 public final String getExpectedType() { 89 return expectedType; 90 } 91 } 92 | Popular Tags |