public JsonNode wbSetClaim ( String statement , boolean bot , long baserevid , String summary ) throws IOException , MediaWikiApiErrorException { Validate . notNull ( statement , "Statement parameter cannot be null when adding or changing a statement" ) ; Map < String , String > parameters = new HashMap < String , String > ( ) ; parameters . put ( "claim" , statement ) ; return performAPIAction ( "wbsetclaim" , null , null , null , null , parameters , summary , baserevid , bot ) ; }
Executes the API action wbsetclaim for the given parameters .