public function run_executable($right_script_href=null, $recipe=null, $params=null, $ignore_lock=false) {
		if(!$right_script_href & !$recipe) {
			throw new InvalidArgumentException("Either right_script_href or recipe must be specified");
		}
		
		$parameters = array('id' => $this->id, 'server[ignore_lock]' => $ignore_lock);
		if($right_script_href) { $parameters['server[right_script_href]'] = $right_script_href; }
		if($recipe) { $parameters['server[recipe]'] = $recipe; }
		if($params) { $parameters['server[parameters]'] = $params; }
		$this->executeCommand($this->_path_for_regex . '_run_executable', $parameters);
	}
public function run_executable($right_script_href=null, $recipe=null, $params=null, $ignore_lock=false) {
		if(!$right_script_href & !$recipe) {
			throw new InvalidArgumentException("Either right_script_href or recipe must be specified");
		}
		
		$parameters = array('id' => $this->id, 'server[ignore_lock]' => $ignore_lock);
		if($right_script_href) { $parameters['server[right_script_href]'] = $right_script_href; }
		if($recipe) { $parameters['server[recipe]'] = $recipe; }
		if($params) { $parameters['server[parameters]'] = $params; }
		$this->executeCommand($this->_path_for_regex . '_run_executable', $parameters);
	}
public function run_executable ( $ right_script_href = null , $ recipe = null , $ params = null , $ ignore_lock = false ) { if ( ! $ right_script_href & ! $ recipe ) { throw new InvalidArgumentException ( "Either right_script_href or recipe must be specified" ) ; } $ parameters = array ( 'id' => $ this -> id , 'server[ignore_lock]' => $ ignore_lock ) ; if ( $ right_script_href ) { $ parameters [ 'server[right_script_href]' ] = $ right_script_href ; } if ( $ recipe ) { $ parameters [ 'server[recipe]' ] = $ recipe ; } if ( $ params ) { $ parameters [ 'server[parameters]' ] = $ params ; } $ this -> executeCommand ( $ this -> _path_for_regex . '_run_executable' , $ parameters ) ; }
Runs a RightScript or Recipe on the server

Requires either a RightScript href or a Recipe name

@param string $right_script_href The href of the RightScript to run
@param string $recipe The name of the recipe to run
@param array $params An associative array where the key is the name of the input parameter to change, and the value is a value in the format <type>:<value>.  For instance text:foobar
@param boolean $ignore_lock Allows server to ignore that it is locked if set to true

@throws \InvalidArgumentException If neither a RightScript or Recipe is specified
Runs a RightScript or Recipe on the server