Package org.jboss.arquillian.persistence.script.data.descriptor

Examples of org.jboss.arquillian.persistence.script.data.descriptor.FileSqlScriptResourceDescriptor


   }

   @Override
   protected FileSqlScriptResourceDescriptor createDescriptor(String dataFileName)
   {
      return new FileSqlScriptResourceDescriptor(determineLocation(dataFileName));
   }
View Full Code Here


      if (!ScriptLoader.isSqlScriptFile(resource))
      {
         return new InlineSqlScriptResourceDescriptor(resource);
      }

      return new FileSqlScriptResourceDescriptor(determineLocation(resource));
   }
View Full Code Here

      final List<SqlScriptResourceDescriptor> processedScripts = new ArrayList<SqlScriptResourceDescriptor>();
      for (String script : scripts)
      {
         if (ScriptLoader.isSqlScriptFile(script))
         {
            processedScripts.add(new FileSqlScriptResourceDescriptor(script));
         }
         else if (!Strings.isEmpty(script))
         {
            processedScripts.add(new InlineSqlScriptResourceDescriptor(script));
         }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.persistence.script.data.descriptor.FileSqlScriptResourceDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.