示例#1
0
 /**
  * @param name The name of this turn. Not empty.
  * @param destination The URI of the destination (telephone, IP telephony address). Not empty.
  */
 public Transfer(String name, String destination) {
   super(name);
   Assert.notEmpty(destination, "destination");
   mDestination = destination;
 }
示例#2
0
 /**
  * @param name The name of this turn. Not empty.
  * @param uri The URI of the subdialogue. Not empty.
  */
 public SubdialogueCall(String name, String uri) {
   super(name);
   Assert.notEmpty(uri, "uri");
   mUri = uri;
 }
示例#3
0
 public Builder addSubmitParameterString(String name, String string) {
   Assert.notEmpty(name, "name");
   mSubmitParameters.addWithString(name, string);
   return this;
 }
示例#4
0
 public Builder addSubmitParameterExpression(String name, String expression) {
   Assert.notEmpty(name, "name");
   mSubmitParameters.addWithExpression(name, expression);
   return this;
 }
示例#5
0
 public Builder uri(String uri) {
   Assert.notEmpty(uri, "uri");
   mUri = uri;
   return this;
 }
示例#6
0
 private Parameter(String name) {
   Assert.notEmpty(name, "name");
   mName = name;
 }