/** * Adds information about the computer and/or operating system in use at the processing time. * This is added to the processing identified by last call to {@link #addProcessing(CharSequence, String)}. * Storage location is: * * <ul> * <li>{@code metadata/resourceLineage/processStep/processingInformation/procedureDescription}</li> * </ul> * * @param platform name of the system on which the processing has been executed, or {@code null} for no-operation. */ public final void addHostComputer(final CharSequence platform) { InternationalString i18n = trim(platform); if (i18n != null) { i18n = Resources.formatInternational(Resources.Keys.ProcessingExecutedOn_1, i18n); final DefaultProcessing p = processing(); p.setProcedureDescription(append(p.getProcedureDescription(), i18n)); } }
/** * Adds information about the computer and/or operating system in use at the processing time. * This is added to the processing identified by last call to {@link #addProcessing(CharSequence, String)}. * Storage location is: * * <ul> * <li>{@code metadata/resourceLineage/processStep/processingInformation/procedureDescription}</li> * </ul> * * @param platform name of the system on which the processing has been executed, or {@code null} for no-operation. * * @see #addProcessing(CharSequence, String) * @see #addSource(CharSequence, ScopeCode, CharSequence) */ public final void addHostComputer(final CharSequence platform) { InternationalString i18n = trim(platform); if (i18n != null) { i18n = Resources.formatInternational(Resources.Keys.ProcessingExecutedOn_1, i18n); final DefaultProcessing p = processing(); p.setProcedureDescription(append(p.getProcedureDescription(), i18n)); } }