org.pentaho.di.ExecutionConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kettle-engine Show documentation
Show all versions of kettle-engine Show documentation
Container pom for Pentaho Data Integration modules
The newest version!
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/
package org.pentaho.di;
import org.pentaho.di.cluster.SlaveServer;
import org.pentaho.di.core.Result;
import org.pentaho.di.core.exception.KettleException;
import org.pentaho.di.core.logging.LogLevel;
import org.pentaho.di.core.variables.VariableSpace;
import org.pentaho.di.repository.RepositoriesMeta;
import org.pentaho.di.repository.Repository;
import java.io.IOException;
import java.util.Date;
import java.util.Map;
public interface ExecutionConfiguration extends Cloneable {
public Object clone();
public Repository connectRepository( RepositoriesMeta repositoriesMeta, String repositoryName, String username,
String password ) throws KettleException;
public Map getArguments();
public void setArguments( Map arguments );
public String[] getArgumentStrings();
public void setArgumentStrings( String[] arguments );
public LogLevel getLogLevel();
public void setLogLevel( LogLevel logLevel );
public Map getParams();
public void setParams( Map params );
public Long getPassedBatchId();
public void setPassedBatchId( Long passedBatchId );
public Result getPreviousResult();
public void setPreviousResult( Result previousResult );
public SlaveServer getRemoteServer();
public void setRemoteServer( SlaveServer remoteServer );
public Date getReplayDate();
public void setReplayDate( Date replayDate );
public Repository getRepository();
public void setRepository( Repository repository );
public Map getVariables();
public void setVariables( Map variables );
public void setVariables( VariableSpace space );
public String getXML() throws IOException;
public boolean isClearingLog();
public void setClearingLog( boolean clearingLog );
public boolean isExecutingLocally();
public void setExecutingLocally( boolean localExecution );
public boolean isExecutingRemotely();
public void setExecutingRemotely( boolean remoteExecution );
public boolean isGatheringMetrics();
public void setGatheringMetrics( boolean gatheringMetrics );
public boolean isPassingExport();
public void setPassingExport( boolean passingExport );
public boolean isSafeModeEnabled();
public void setSafeModeEnabled( boolean usingSafeMode );
String getRunConfiguration();
void setRunConfiguration( String runConfiguration );
}