tracesrv/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/engine/rules/EntryTraceRule.java
/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
* Rule for entry traces
*
*/
package com.nokia.tracecompiler.engine.rules;
import com.nokia.tracecompiler.engine.utils.TraceUtils;
import com.nokia.tracecompiler.source.SourceContext;
/**
* Rule for entry traces
*
*/
public class EntryTraceRule extends AutomaticTraceTextRule {
/*
* (non-Javadoc)
*
* @see com.nokia.tracecompiler.engine.rules.AutomaticTraceTextRule#
* formatTrace(com.nokia.tracecompiler.source.SourceContext)
*/
@Override
public String formatTrace(SourceContext context) {
return TraceUtils.formatTrace(RuleUtils.TEXT_FORMAT_BASE, context
.getClassName(), context.getFunctionName());
}
}