// ============================================================================ // // Copyright (C) 2006-2016 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have received a copy of the agreement // along with this program; if not, write to Talend SA // 9 rue Pages 92150 Suresnes, France // // ============================================================================ package org.talend.mdm.repository.core.service.wsimpl.servicedoc; import org.talend.mdm.repository.i18n.Messages; /** * DOC hbhong class global comment. Detailled comment */ public class LoggingGetDocument extends AbstractGetDocument { /** * DOC hbhong CopyOfCallJobGetDocument constructor comment. * * @param twoLettersLanguageCode */ public LoggingGetDocument(String twoLettersLanguageCode) { super(twoLettersLanguageCode); } @Override public String getJNDIName() { return "logging"; //$NON-NLS-1$ } @Override public String getDescription() { if ("fr".matches(twoLettersLanguageCode.toLowerCase())) //$NON-NLS-1$ return Messages.LoggingGetDocument_Desc1; return Messages.LoggingGetDocument_Desc2; } @Override public String getDocument() { return "This service main role is to start, stop and confgure the logging connector in webapp. \n" //$NON-NLS-1$ + "It is not meant to be called from a Routing Rule."; //$NON-NLS-1$ } }