summaryrefslogtreecommitdiff
path: root/src/plugins/preflighting.samplecheckers.findviewbyid/plugin.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/preflighting.samplecheckers.findviewbyid/plugin.xml')
-rw-r--r--src/plugins/preflighting.samplecheckers.findviewbyid/plugin.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/plugins/preflighting.samplecheckers.findviewbyid/plugin.xml b/src/plugins/preflighting.samplecheckers.findviewbyid/plugin.xml
new file mode 100644
index 0000000..f1b9199
--- /dev/null
+++ b/src/plugins/preflighting.samplecheckers.findviewbyid/plugin.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+
+<!--
+ Copyright (C) 2012 The Android Open Source Project
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<plugin>
+ <extension
+ point="com.motorolamobility.preflighting.core.checker">
+ <checker
+ class="com.motorolamobility.preflighting.core.checker.Checker"
+ description="%unnecessaryFindViewByIdCheckerDescription"
+ id="unnecessaryFindViewById"
+ name="%unnecessaryFindViewByIdChecker">
+ <condition
+ class="com.motorolamobility.preflighting.samplechecker.findviewbyid.implementation.FindViewByIdInLoop"
+ defaultSeverityLevel="WARNING"
+ description="%FindViewByIdInsideLoopsConditionDescription"
+ id="findViewByIdInsideLoops"
+ markerType="com.motorolamobility.preflighting.samplechecker.findviewbyid.ui.findViewByIdPermissionsMarker"
+ name="%FindViewByIdInsideLoopsCondition">
+ </condition>
+ </checker>
+ </extension>
+
+</plugin>