|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sourceforge.pebble.ant.metaweblog.NewPostTask
public class NewPostTask
Ant task to post to a blog via the MetaWeblog API.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
NewPostTask()
|
Method Summary | |
---|---|
void |
execute()
Performs the work of this task. |
void |
setBlogid(java.lang.String blogid)
Sets the blog id. |
void |
setCategory(java.lang.String category)
Sets the category to which the blog entry should be added to. |
void |
setContent(java.lang.String content)
Sets the blog entry content. |
void |
setHandler(java.lang.String handler)
Sets the name of the XML-RPC Blogger API handler (e.g. |
void |
setPassword(java.lang.String password)
Sets the XML-RPC password. |
void |
setTitle(java.lang.String title)
Sets the title of the blog entry. |
void |
setUrl(java.lang.String url)
Sets the URL of the XML-RPC call. |
void |
setUsername(java.lang.String username)
Sets the XML-RPC username. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NewPostTask()
Method Detail |
---|
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if something goes wrongpublic void setBlogid(java.lang.String blogid)
blogid
- a Stringpublic void setUsername(java.lang.String username)
username
- a Stringpublic void setPassword(java.lang.String password)
password
- a Stringpublic void setTitle(java.lang.String title)
title
- the blog entry titlepublic void setContent(java.lang.String content)
content
- the blog entry contentpublic void setCategory(java.lang.String category)
category
- the category ID as a Stringpublic void setUrl(java.lang.String url)
url
- the URL as a Stringpublic void setHandler(java.lang.String handler)
handler
- the name of the handler as a String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |