Xinc-Plugin-Repos-ModificationSet
[ class tree: Xinc-Plugin-Repos-ModificationSet ] [ index: Xinc-Plugin-Repos-ModificationSet ] [ all elements ]

Class: Xinc_Plugin_Repos_ModificationSet_Svn

Source Location: /Xinc/Plugin/Repos/ModificationSet/Svn.php

Class Overview

Xinc_Plugin_Base
   |
   --Xinc_Plugin_Repos_ModificationSet_Svn



Methods


Inherited Methods

Class: Xinc_Plugin_Base

Xinc_Plugin_Base::getApiModules()
Xinc_Plugin_Base::getGuiWidgets()
Xinc_Plugin_Base::getTaskDefinitions()
Returns the defined tasks of the plugin
Xinc_Plugin_Base::validate()
Validate if the plugin can run properly on this system

Class Details

[line 39]


[ Top ]


Class Methods


constructor __construct [line 60]

Xinc_Plugin_Repos_ModificationSet_Svn __construct( )

Constructor



Tags:

access:  public


[ Top ]

method checkModified [line 88]

Xinc_Plugin_Repos_ModificationSet_Result checkModified( Xinc_Build_Interface $build, Xinc_Plugin_Repos_ModificationSet_Svn_Task $task)

Checks whether the Subversion project has been modified.



Tags:

return:  The result of the check.
access:  public


Parameters:

Xinc_Build_Interface   $build   The running build.
Xinc_Plugin_Repos_ModificationSet_Svn_Task   $task   The configured task

[ Top ]

method getChangeLog [line 194]

void getChangeLog( Xinc_Plugin_Repos_ModificationSet_Result $result)

Gets the modified files between two revisions from SVN and puts this info into the ModificationSet_Result.



Tags:

access:  protected


Parameters:

Xinc_Plugin_Repos_ModificationSet_Result   $result   The Result to get Hash ids from and set modified files.

[ Top ]

method getLocalVersion [line 163]

string getLocalVersion( )

Gets local version.



Tags:

return:  The local version.
access:  protected


[ Top ]

method getModifiedFiles [line 234]

void getModifiedFiles( Xinc_Plugin_Repos_ModificationSet_Result $result)

Gets the modified files between two revisions from svn and puts this info into the ModificationSet_Result.



Tags:

access:  protected


Parameters:

Xinc_Plugin_Repos_ModificationSet_Result   $result   The Result to get Hash ids from and set modified files.

[ Top ]

method getRemoteVersion [line 149]

string getRemoteVersion( )

Gets remote version.



Tags:

return:  The remote version.
access:  protected


[ Top ]

method getRevisionFromXML [line 179]

string getRevisionFromXML( array $arXml)

Returns the revison number from the PEAR::SVN Info XML



Tags:

return:  Revision number
access:  protected


Parameters:

array   $arXml   The XML as array from SVN info

[ Top ]

method getTaskDefinitions [line 74]

array getTaskDefinitions( )

Returns definition of task.



Tags:

return:  Array of definition.
access:  public


Overrides Xinc_Plugin_Base::getTaskDefinitions() (Returns the defined tasks of the plugin)

[ Top ]

method update [line 281]

void update( Xinc_Plugin_Repos_ModificationSet_Result $result)

Updates local svn to the remoteRevision for this test.



Tags:

access:  protected


Parameters:

Xinc_Plugin_Repos_ModificationSet_Result   $result   The Result to get Hash ids from and set modified files.

[ Top ]

method validate [line 302]

boolean validate( )

Validate if the plugin can run properly on this system



Tags:

return:  True if plugin can run properly otherwise false.
access:  public


Overrides Xinc_Plugin_Base::validate() (Validate if the plugin can run properly on this system)

[ Top ]


Documentation generated on Sun, 09 Dec 2012 21:49:33 +0100 by phpDocumentor 1.4.4