How to limit the processed files for a certain check?

"Wippermann, Peter, VF-DE" <[email protected]> Wed, 6 Jun 2012 14:56:21 +0200
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <FE32E81BBC732D41BB4D51DEA927B189010AC995@VF-MBX41.internal.vodafone.com>
This is a multi-part message in MIME format.

--===============3098371838467112295==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CD43E3.E84EB8E3"

This is a multi-part message in MIME format.

------_=_NextPart_001_01CD43E3.E84EB8E3
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I've written my own check *yeah*
Now I want this check to be applied to a certain set of classes only.
All these classes inherit (at least indirectly) from the same super
class.
But I thought it would be easier to filter for the package respectively
the path in the file system, because all these classes lie in the same
package: e.g. com.company.pack

I already learned about filters, but this effects all checks and not
only a single one, right?
My last guess is to add "PACKAGE" to the supported token types of the
check and analyse the fully qualified path. But this seems to be awkward
to me...

What would you suggest?

Best regards,
Peter
 =20

=20


------_=_NextPart_001_01CD43E3.E84EB8E3
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7654.12">
<TITLE>How to limit the processed files for a certain check?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I've written my own check *yeah*</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Now I want this check to be applied to =
a certain set of classes only. All these classes inherit (at least =
indirectly) from the same super class.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">But I thought it would be easier to =
filter for the package respectively the path in the file system, because =
all these classes lie in the same package: e.g. =
com.company.pack</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I already learned about filters, but =
this effects all checks and not only a single one, right?</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">My last guess is to add =
&quot;PACKAGE&quot; to the supported token types of the check and =
analyse the fully qualified path. But this seems to be awkward to =
me&#8230;</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">What would you suggest?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Best regards,</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Peter</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01CD43E3.E84EB8E3--


--===============3098371838467112295==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
--===============3098371838467112295==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user

--===============3098371838467112295==--