com.xebialabs.deployit.ci.artifact
Class SqlScript

java.lang.Object
  extended by com.xebialabs.deployit.BaseConfigurationItem
      extended by com.xebialabs.deployit.ci.artifact.DeployableArtifact
          extended by com.xebialabs.deployit.ci.artifact.SqlScript
All Implemented Interfaces:
java.io.Serializable

@ConfigurationItem(description="SQL script instance",
                   sourceForMappingTypes=SqlMapping.class)
public class SqlScript
extends DeployableArtifact

An SQL script runnable on a SQL database

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.ci.artifact.DeployableArtifact
NAME_OF_CONTENTS_FIELD
 
Fields inherited from class com.xebialabs.deployit.BaseConfigurationItem
label
 
Constructor Summary
SqlScript()
           
 
Method Summary
 java.lang.String getValidationError()
           
 boolean validate()
           
 
Methods inherited from class com.xebialabs.deployit.ci.artifact.DeployableArtifact
getLocation, setLocation
 
Methods inherited from class com.xebialabs.deployit.BaseConfigurationItem
equals, getLabel, hashCode, setLabel, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlScript

public SqlScript()
Method Detail

validate

public boolean validate()
Specified by:
validate in class DeployableArtifact

getValidationError

public java.lang.String getValidationError()
Specified by:
getValidationError in class DeployableArtifact


Copyright © 2010. All Rights Reserved.