Declares the interpreter to be used when invoking the RPM
post-transaction script that can be set with the
{@link #setPostTransScript(String)} method.

@param program Path to the interpreter
425897
public void setPostTransProgram( final String program) {
		if ( null == program) {
			format.getHeader().createEntry( POSTTRANSPROG, DEFAULTSCRIPTPROG);
		} else if ( 0 == program.length()){
			format.getHeader().createEntry( POSTTRANSPROG, DEFAULTSCRIPTPROG);
		} else {
			format.getHeader().createEntry( POSTTRANSPROG, program);
		}
	}
781636
@Override
    public void eventPostCommitAdd(Transaction transaction) throws SevereMessageStoreException
    {
        super.eventPostCommitAdd(transaction);
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "eventPostCommitAdd", transaction);

        if (failedInitInRestore)
        {
            initialiseNonPersistent(true);
            setRegisterForPostEvents(true);
        }

        if (TraceComponent.isAnyTracingEnabled() && UserTrace.tc_mt.isDebugEnabled())
        {
            try
            {
                if (getJSMessage(true).isApiMessage())
                {
                    boolean foreignBus = false;
                    boolean link = false;
                    boolean mqlink = false;

                    String targetME = null;
                    if (debugName != null)
                    {
                        SIMPItemStream itemstream = (SIMPItemStream) getItemStream();

                        BaseDestinationHandler destination = getDestinationHandler(false, itemstream);

                        if (itemstream instanceof PubSubMessageItemStream)
                        {
                            targetME = destination.getMessageProcessor().getMessagingEngineName();
                        }
                        else
                        {
                            SIBUuid8 meUUID = ((PtoPMessageItemStream) itemstream).getLocalizingMEUuid();
                            if (meUUID.equals(destination.getMessageProcessor().getMessagingEngineUuid()))
                                targetME = destination.getMessageProcessor().getMessagingEngineName();
                            else
                            {
                                // If it's not the local messaging engine, then don't attempt the very
                                // expensive operation of trawling through admin for a messaging engine
                                // we may (intra-bus) or may not (inter-bus) know about - just for UserTrace.
                                // While the V7 and later interface is better than V6.1, looking up the
                                // name would be an excessive overhead in the critical path.
                                targetME = meUUID.toString();
                            }

                        }

                        foreignBus = destination.isForeignBus();
                        link = destination.isLink();
                        mqlink = destination.isMQLink();
                    }

                    String apiMsgId = null;
                    String correlationId = null;

                    if (getJSMessage(true) instanceof JsApiMessage)
                    {
                        apiMsgId = ((JsApiMessage) getJSMessage(true)).getApiMessageId();
                        correlationId = ((JsApiMessage) getJSMessage(true)).getCorrelationId();
                    }
                    else
                    {
                        if (getJSMessage(true).getApiMessageIdAsBytes() != null)
                            apiMsgId = new String(getJSMessage(true).getApiMessageIdAsBytes());

                        if (getJSMessage(true).getCorrelationIdAsBytes() != null)
                            correlationId = new String(getJSMessage(true).getCorrelationIdAsBytes());
                    }

                    String msg = "PRODUCER_SEND_COMMIT_CWSJU0003";

                    if (foreignBus)
                        msg = "PRODUCER_SEND_COMMIT_BUS_CWSJU0064";
                    else if (mqlink)
                        msg = "PRODUCER_SEND_COMMIT_MQLINK_CWSJU0066";
                    else if (link)
                        msg = "PRODUCER_SEND_COMMIT_LINK_CWSJU0065";

                    SibTr.debug(this, UserTrace.tc_mt,
                                nls_mt.getFormattedMessage(
                                                           msg,
                                                           new Object[] {
                                                                         apiMsgId,
                                                                         getJSMessage(true).getSystemMessageId(),
                                                                         correlationId,
                                                                         debugName,
                                                                         targetME },
                                                           null));
                }
            } catch (MessageStoreException e)
            {
                // No FFDC code needed

                // Log the exception
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                    SibTr.exception(tc, e);

                // As the item is no longer in the store it has likely been committed already.
                // there doesn't seem any point to log the Message Trace at this point.
            }
        }

        // Remove temporary hack to delete publication with no subscribers 183715.1
        if (!transaction.isAutoCommit())
        {
            try
            {
                if (POST_COMMIT_ADD_1 != null)
                {
                    POST_COMMIT_ADD_1.messageEventOccurred(MessageEvents.POST_COMMIT_ADD, this, transaction);
                }
                if (POST_COMMIT_ADD_2 != null)
                {
                    POST_COMMIT_ADD_2.messageEventOccurred(MessageEvents.POST_COMMIT_ADD, this, transaction);
                }
            } catch (SIException e)
            {
                FFDCFilter.processException(
                                            e,
                                            "com.ibm.ws.sib.processor.impl.store.items.MessageItem.eventPostCommitAdd",
                                            "1:1313:1.244.1.40",
                                            this);

                SibTr.exception(tc, e);

                if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                    SibTr.exit(this, tc, "eventPostCommitAdd", e);

                throw new SIErrorException(e);
            }
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "eventPostCommitAdd");
    }
1094566
def setProgram(self, tlsID, programID):
        
        self._connection._sendStringCmd(
            tc.CMD_SET_TL_VARIABLE, tc.TL_PROGRAM, tlsID, programID)
79893
public void setExecution(ExecutionEntity execution) {
    executionId = execution.getId();
    processInstanceId = execution.getProcessInstanceId();
    processDefinitionId = execution.getProcessDefinitionId();
  }
132446
@Override
    public void execute()
            throws MojoExecutionException, MojoFailureException
        {
        if (command == null)
            {
            throw new MojoExecutionException("The npm command to execute must be set");
            }

        CommandLine cmdLine = getNpmCommand();
        addCommand(cmdLine);
        addArguments(cmdLine);

        execute(cmdLine);
        }
528346
public static void registerFunction(Statement st,Function function,String packagePrepend) throws SQLException {
        registerFunction(st,function,packagePrepend,true);
    }
755412
def p_program(self, p):
        """"""
        p[0] = self.asttypes.ES5Program(p[1])
        p[0].setpos(p)
992903
PackagedProgram buildProgram(ProgramOptions options) throws FileNotFoundException, ProgramInvocationException {
		String[] programArgs = options.getProgramArgs();
		String jarFilePath = options.getJarFilePath();
		List<URL> classpaths = options.getClasspaths();

		if (jarFilePath == null) {
			throw new IllegalArgumentException("The program JAR file was not specified.");
		}

		File jarFile = new File(jarFilePath);

		// Check if JAR file exists
		if (!jarFile.exists()) {
			throw new FileNotFoundException("JAR file does not exist: " + jarFile);
		}
		else if (!jarFile.isFile()) {
			throw new FileNotFoundException("JAR file is not a file: " + jarFile);
		}

		// Get assembler class
		String entryPointClass = options.getEntryPointClassName();

		PackagedProgram program = entryPointClass == null ?
				new PackagedProgram(jarFile, classpaths, programArgs) :
				new PackagedProgram(jarFile, classpaths, entryPointClass, programArgs);

		program.setSavepointRestoreSettings(options.getSavepointRestoreSettings());

		return program;
	}
871957
public void eInit(SarlScript script, String name, IJvmTypeProvider context) {
		setTypeResolutionContext(context);
		if (this.sarlArtifact == null) {
			this.sarlArtifact = SarlFactory.eINSTANCE.createSarlArtifact();
			script.getXtendTypes().add(this.sarlArtifact);
			this.sarlArtifact.setAnnotationInfo(XtendFactory.eINSTANCE.createXtendTypeDeclaration());
			if (!Strings.isEmpty(name)) {
				this.sarlArtifact.setName(name);
			}
		}
	}
235429
public void setPostUninstallProgram( final String program) {
		if ( null == program) {
			format.getHeader().createEntry( POSTUNPROG, DEFAULTSCRIPTPROG);
		} else if ( 0 == program.length()){
			format.getHeader().createEntry( POSTUNPROG, DEFAULTSCRIPTPROG);
		} else {
			format.getHeader().createEntry( POSTUNPROG, program);
		}
	}
285746
@Restricted(NoExternalUse.class)
    public void setExecutable(Executable executable) {
        this.executable = executable;
        if (executable instanceof Run) {
            ((Run) executable).setQueueId(context.item.getId());
        }
    }
478356
public void setPreTransScript( final String script) {
		setPreTransProgram(readProgram(script));
		if ( script != null) format.getHeader().createEntry( PRETRANSSCRIPT, script);
	}
1353554
public void setSourceRpm( final String rpm) {
		if ( rpm != null) format.getHeader().createEntry( SOURCERPM, rpm);
	}
1174126
public void setPreUninstallProgram( final String program) {
		if ( null == program) {
			format.getHeader().createEntry( PREUNPROG, DEFAULTSCRIPTPROG);
		} else if ( 0 == program.length()){
			format.getHeader().createEntry( PREUNPROG, DEFAULTSCRIPTPROG);
		} else {
			format.getHeader().createEntry( PREUNPROG, program);
		}
	}
592757
private OptimizerPostPass getPostPassFromPlan(Plan program) {
		final String className =  program.getPostPassClassName();
		if (className == null) {
			throw new CompilerException("Optimizer Post Pass class description is null");
		}
		try {
			Class<? extends OptimizerPostPass> clazz = Class.forName(className).asSubclass(OptimizerPostPass.class);
			try {
				return InstantiationUtil.instantiate(clazz, OptimizerPostPass.class);
			} catch (RuntimeException rtex) {
				// unwrap the source exception
				if (rtex.getCause() != null) {
					throw new CompilerException("Cannot instantiate optimizer post pass: " + rtex.getMessage(), rtex.getCause());
				} else {
					throw rtex;
				}
			}
		} catch (ClassNotFoundException cnfex) {
			throw new CompilerException("Cannot load Optimizer post-pass class '" + className + "'.", cnfex);
		} catch (ClassCastException ccex) {
			throw new CompilerException("Class '" + className + "' is not an optimizer post passer.", ccex);
		}
	}
1358047
public void setPostTransScript( final String script) {
		setPostTransProgram(readProgram(script));
		if ( script != null) format.getHeader().createEntry( POSTTRANSSCRIPT, script);
	}
355382
public void eInit(SarlScript script, String name, IJvmTypeProvider context) {
		setTypeResolutionContext(context);
		if (this.sarlCapacity == null) {
			this.sarlCapacity = SarlFactory.eINSTANCE.createSarlCapacity();
			script.getXtendTypes().add(this.sarlCapacity);
			this.sarlCapacity.setAnnotationInfo(XtendFactory.eINSTANCE.createXtendTypeDeclaration());
			if (!Strings.isEmpty(name)) {
				this.sarlCapacity.setName(name);
			}
		}
	}