import org.tianocore.PcdBuildDefinitionDocument;\r
import org.tianocore.PlatformSurfaceAreaDocument;\r
import org.tianocore.build.exception.PlatformPcdPreprocessBuildException;\r
-import org.tianocore.build.fpd.FpdParserTask;\r
import org.tianocore.build.global.GlobalData;\r
import org.tianocore.build.id.FpdModuleIdentification;\r
-import org.tianocore.pcd.action.ActionMessage;\r
import org.tianocore.pcd.action.PlatformPcdPreprocessAction;\r
import org.tianocore.pcd.entity.MemoryDatabaseManager;\r
import org.tianocore.pcd.entity.ModulePcdInfoFromFpd;\r
///\r
private PlatformSurfaceAreaDocument fpdDocInstance;\r
\r
- /**\r
- Set action message level for CollectPcdAction tool.\r
-\r
- The message should be restored when this action exit.\r
-\r
- @param actionMessageLevel parameter for this action\r
- **/\r
- public void setActionMessageLevel(int actionMessageLevel) {\r
- originalMessageLevel = ActionMessage.messageLevel;\r
- ActionMessage.messageLevel = actionMessageLevel;\r
- }\r
-\r
/**\r
Set FPDFileName parameter for this action class.\r
\r
Common function interface for outer.\r
\r
@param fpdFilePath The fpd file path of current build or processing.\r
- @param messageLevel The message level for this Action.\r
\r
@throws PlatformPreprocessBuildException \r
The exception of this function. Because it can *not* be predict\r
where the action class will be used. So only Exception can be throw.\r
\r
**/\r
- public void perform(String fpdFilePath, int messageLevel) \r
+ public void perform(String fpdFilePath) \r
throws PlatformPcdPreprocessBuildException {\r
this.fpdFilePath = fpdFilePath;\r
- setActionMessageLevel(messageLevel);\r
checkParameter();\r
execute();\r
- ActionMessage.messageLevel = originalMessageLevel;\r
}\r
\r
/**\r