Class AbstractGitPlatformService
- java.lang.Object
-
- fr.paris.lutece.plugins.lutecetools.service.AbstractGitPlatformService
-
- All Implemented Interfaces:
ComponentInfoFiller,fr.paris.lutece.portal.service.util.LuteceService
- Direct Known Subclasses:
GitHubService,GitLabService
public abstract class AbstractGitPlatformService extends Object implements ComponentInfoFiller
GitPlatform
-
-
Field Summary
Fields Modifier and Type Field Description static StringBRANCHES_LISTstatic StringGIT_GROUPstatic StringGIT_PLATFORMstatic StringGIT_REPO_ERRORSstatic StringGIT_REPO_STATUSstatic StringHAS_READMEstatic StringOLDEST_PULL_REQUESTstatic StringPULL_REQUEST_COUNT
-
Constructor Summary
Constructors Constructor Description AbstractGitPlatformService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGitPlatform()Returns the GitPlatformintgetItemCount()Returns the ItemCountintgetItemOk()Returns the ItemOkvoidincrementItemCount()Increment item countvoidincrementItemOk()Increment item OKvoidsetGitPlatform(String strGitPlatform)Sets the GitPlatformvoidsetItemCount(int nItemCount)Sets the ItemCountvoidsetItemOk(int nItemOk)Sets the ItemOk-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.plugins.lutecetools.service.ComponentInfoFiller
fill
-
-
-
-
Field Detail
-
GIT_PLATFORM
public static final String GIT_PLATFORM
- See Also:
- Constant Field Values
-
GIT_GROUP
public static final String GIT_GROUP
- See Also:
- Constant Field Values
-
HAS_README
public static final String HAS_README
- See Also:
- Constant Field Values
-
PULL_REQUEST_COUNT
public static final String PULL_REQUEST_COUNT
- See Also:
- Constant Field Values
-
GIT_REPO_ERRORS
public static final String GIT_REPO_ERRORS
- See Also:
- Constant Field Values
-
GIT_REPO_STATUS
public static final String GIT_REPO_STATUS
- See Also:
- Constant Field Values
-
OLDEST_PULL_REQUEST
public static final String OLDEST_PULL_REQUEST
- See Also:
- Constant Field Values
-
BRANCHES_LIST
public static final String BRANCHES_LIST
- See Also:
- Constant Field Values
-
-
Method Detail
-
getGitPlatform
public String getGitPlatform()
Returns the GitPlatform- Returns:
- The GitPlatform
-
setGitPlatform
public void setGitPlatform(String strGitPlatform)
Sets the GitPlatform- Parameters:
strGitPlatform- The GitPlatform
-
getItemCount
public int getItemCount()
Returns the ItemCount- Returns:
- The ItemCount
-
setItemCount
public void setItemCount(int nItemCount)
Sets the ItemCount- Parameters:
nItemCount- The ItemCount
-
getItemOk
public int getItemOk()
Returns the ItemOk- Returns:
- The ItemOk
-
setItemOk
public void setItemOk(int nItemOk)
Sets the ItemOk- Parameters:
nItemOk- The ItemOk
-
incrementItemCount
public void incrementItemCount()
Increment item count
-
incrementItemOk
public void incrementItemOk()
Increment item OK
-
-