org.sonar.wsclient.services
Class Profile

java.lang.Object
  extended by org.sonar.wsclient.services.Model
      extended by org.sonar.wsclient.services.Profile

public class Profile
extends Model

Since:
2.7

Nested Class Summary
static class Profile.Rule
           
 
Constructor Summary
Profile()
           
 
Method Summary
 Profile addRule(Profile.Rule rule)
           
 String getLanguage()
           
 String getName()
           
 String getParentName()
           
 Profile.Rule getRule(String repositoryKey, String ruleKey)
           
 List<Profile.Rule> getRules()
           
 boolean isDefaultProfile()
           
 Profile setDefaultProfile(boolean b)
           
 Profile setLanguage(String s)
           
 Profile setName(String name)
           
 Profile setParentName(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile

public Profile()
Method Detail

getLanguage

@CheckForNull
public String getLanguage()

setLanguage

public Profile setLanguage(@Nullable
                           String s)

getName

@CheckForNull
public String getName()

setName

public Profile setName(@Nullable
                       String name)

isDefaultProfile

public boolean isDefaultProfile()

setDefaultProfile

public Profile setDefaultProfile(boolean b)

getParentName

public String getParentName()

setParentName

@CheckForNull
public Profile setParentName(@Nullable
                                          String s)

getRules

public List<Profile.Rule> getRules()

getRule

public Profile.Rule getRule(String repositoryKey,
                            String ruleKey)

addRule

public Profile addRule(Profile.Rule rule)


Copyright © 2009-2014 SonarSource. All Rights Reserved.