congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Assert.notEmpty
Code IndexAdd Tabnine to your IDE (free)

How to use
notEmpty
method
in
com.nuecho.rivr.core.util.Assert

Best Java code snippets using com.nuecho.rivr.core.util.Assert.notEmpty (Showing top 18 results out of 315)

origin: nuecho/rivr

public Builder uri(String uri) {
  Assert.notEmpty(uri, "uri");
  mUri = uri;
  return this;
}
origin: nuecho/rivr

/**
 * @param text The synthesis text. Not empty.
 */
public SpeechSynthesis(String text) {
  Assert.notEmpty(text, "text");
  mText = text;
  mDocumentFragment = null;
}
origin: nuecho/rivr

public VoiceXmlEvent(String name, String message) {
  Assert.notEmpty(name, NAME_PROPERTY);
  mName = name;
  mMessage = message;
}
origin: nuecho/rivr

/**
 * @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;
}
origin: nuecho/rivr

/**
 * @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;
}
origin: nuecho/rivr

public MarkInfo(String name, Duration time) {
  Assert.notEmpty(name, NAME_PROPERTY);
  mName = name;
  mTime = time;
}
origin: nuecho/rivr

/**
 * @param uri The URI of the external grammar. Not empty.
 */
public GrammarReference(String uri) {
  Assert.notEmpty(uri, "uri");
  mUri = uri;
}
origin: nuecho/rivr

public VoiceXmlDocumentTurn(String name) {
  Assert.notEmpty(name, "name");
  mName = name;
}
origin: nuecho/rivr

private Parameter(String name) {
  Assert.notEmpty(name, "name");
  mName = name;
}
origin: nuecho/rivr

/**
 * @param name The name of this turn. Not empty.
 * @param audioItems The sequence of {@link AudioItem} to play. Not empty.
 */
public Message(String name, List<AudioItem> audioItems) {
  super(name);
  Assert.notEmpty(audioItems, "audioItems");
  mAudioItems = new ArrayList<AudioItem>(audioItems);
}
origin: nuecho/rivr

public static AudioFile fromExpression(String expression) {
  Assert.notEmpty(expression, "expression");
  AudioFile audioFile = new AudioFile();
  audioFile.mExpression = expression;
  return audioFile;
}
origin: nuecho/rivr

public Builder addSubmitParameterExpression(String name, String expression) {
  Assert.notEmpty(name, "name");
  mSubmitParameters.addWithExpression(name, expression);
  return this;
}
origin: nuecho/rivr

public Builder addSubmitParameterString(String name, String string) {
  Assert.notEmpty(name, "name");
  mSubmitParameters.addWithString(name, string);
  return this;
}
origin: nuecho/rivr

public static AudioFile fromLocation(String location) {
  Assert.notEmpty(location, "location");
  AudioFile audioFile = new AudioFile();
  audioFile.mLocation = location;
  return audioFile;
}
origin: nuecho/rivr

/**
 * Adds a property to the enclosing form
 * 
 * @param propertyName The name of the property. Not empty.
 * @param propertyValue The value of the property. Not null.
 * @see <a
 *      href="https://www.w3.org/TR/voicexml20/#dml6.3">https://www.w3.org/TR/voicexml20/#dml6.3</a>
 */
public void addProperty(String propertyName, String propertyValue) {
  Assert.notEmpty(propertyName, "propertyName");
  Assert.notNull(propertyValue, "propertyValue");
  mProperties.put(propertyName, propertyValue);
}
origin: nuecho/rivr

/**
 * @param name The name of the parameter. Not empty.
 * @param value The string value of the parameter. Not null.
 * @return The newly created object parameter
 */
public static Parameter createWithValue(String name, String value) {
  Assert.notEmpty(name, "name");
  Assert.notNull(value, "value");
  Parameter parameter = new Parameter(name);
  parameter.mValue = value;
  return parameter;
}
origin: nuecho/rivr

/**
 * @param name The name of the parameter. Not empty.
 * @param expression The ECMAScript expression of the parameter. Not
 *            null.
 * @return The newly created object parameter
 */
public static Parameter createWithExpression(String name, String expression) {
  Assert.notEmpty(name, "name");
  Assert.notNull(expression, "expression");
  Parameter parameter = new Parameter(name);
  parameter.mExpression = expression;
  return parameter;
}
origin: nuecho/rivr

/**
 * @param name The name of the parameter. Not empty.
 * @param json The JSON value of the parameter. Not null.
 * @return The newly created object parameter
 */
public static Parameter createWithJson(String name, JsonValue json) {
  Assert.notEmpty(name, "name");
  Assert.notNull(json, "json");
  return createWithExpression(name, json.toString());
}
com.nuecho.rivr.core.utilAssertnotEmpty

Popular methods of Assert

  • between
  • ensure
  • notNull
  • asListChecked
  • noNullValues
  • notNegative
  • positive

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • addToBackStack (FragmentTransaction)
  • getExternalFilesDir (Context)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Option (scala)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now