congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ScheduleExpressionTypeUtil
Code IndexAdd Tabnine to your IDE (free)

How to use
ScheduleExpressionTypeUtil
in
org.jboss.as.ejb3.timerservice.schedule

Best Java code snippets using org.jboss.as.ejb3.timerservice.schedule.ScheduleExpressionTypeUtil (Showing top 4 results out of 315)

origin: wildfly/wildfly

protected void processListItem(String listItem) {
  // check what type of a value the list item is.
  // Each item in the list must be an individual attribute value or a range.
  // List items can not themselves be lists, wild-cards, or increments.
  ScheduleExpressionType listItemType = ScheduleExpressionTypeUtil.getType(listItem);
  switch (listItemType) {
    case SINGLE_VALUE:
      SingleValue singleVal = new SingleValue(listItem);
      this.processSingleValue(singleVal);
      return;
    case RANGE:
      RangeValue range = new RangeValue(listItem);
      this.processRangeValue(range);
      return;
    default:
      throw EjbLogger.EJB3_TIMER_LOGGER.invalidListValue(listItem);
  }
}
origin: wildfly/wildfly

public IntegerBasedExpression(String value) {
  this.origValue = value;
  this.scheduleExpressionType = ScheduleExpressionTypeUtil.getType(value);
  if (this.accepts(scheduleExpressionType) == false) {
    throw EjbLogger.EJB3_TIMER_LOGGER.invalidScheduleExpressionType(value, this.getClass().getName(), this.scheduleExpressionType.toString());
origin: org.jboss.as/jboss-as-ejb3

protected void processListItem(String listItem) {
  // check what type of a value the list item is.
  // Each item in the list must be an individual attribute value or a range.
  // List items can not themselves be lists, wild-cards, or increments.
  ScheduleExpressionType listItemType = ScheduleExpressionTypeUtil.getType(listItem);
  switch (listItemType) {
    case SINGLE_VALUE:
      SingleValue singleVal = new SingleValue(listItem);
      this.processSingleValue(singleVal);
      return;
    case RANGE:
      RangeValue range = new RangeValue(listItem);
      this.processRangeValue(range);
      return;
    default:
      throw MESSAGES.invalidListValue(listItem);
  }
}
origin: org.jboss.as/jboss-as-ejb3

public IntegerBasedExpression(String value) {
  this.origValue = value;
  this.scheduleExpressionType = ScheduleExpressionTypeUtil.getType(value);
  if (this.accepts(scheduleExpressionType) == false) {
    throw MESSAGES.invalidScheduleExpressionType(value,this.getClass().getName(),this.scheduleExpressionType.toString());
org.jboss.as.ejb3.timerservice.scheduleScheduleExpressionTypeUtil

Javadoc

Utility for javax.ejb.ScheduleExpression

Most used methods

  • getType
    Returns the corresponding org.jboss.as.ejb3.timerservice.schedule.value.ScheduleExpressionType for t

Popular in Java

  • Reading from database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • onRequestPermissionsResult (Fragment)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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